foreground_service_tensorflow_bluetooth 0.0.2 copy "foreground_service_tensorflow_bluetooth: ^0.0.2" to clipboard
foreground_service_tensorflow_bluetooth: ^0.0.2 copied to clipboard

Android ForegroundService for Flutter

ForegroundService for Flutter #

This plugin allows Flutter apps to launch a generic foreground service when the platform is Android. If the plugin is invoked on iOS, it will crash your app. In checked mode, we assert that the platform should be Android.

Use it by calling the start and stop methods.

Start service with:

ForegroundService.start(
  title: 'Title',
  text: 'Text',
  subText: 'Subtext',
  ticker: 'Ticker',
);

Stop service with:

ForegroundService.stop();

Requirements #

Add the Service to your AndroidManifest.xml:

<service android:name="com.pauldemarco.foregroundservice.ForegroundService" >
</service>

Getting Started #

For help getting started with Flutter, view our online documentation.

For help on editing plugin code, view the documentation.

0
likes
10
points
13
downloads

Publisher

unverified uploader

Weekly Downloads

Android ForegroundService for Flutter

License

unknown (license)

Dependencies

flutter, platform

More

Packages that depend on foreground_service_tensorflow_bluetooth

Packages that implement foreground_service_tensorflow_bluetooth