foreground_service 2.0.1+1 copy "foreground_service: ^2.0.1+1" to clipboard
foreground_service: ^2.0.1+1 copied to clipboard

Flutter plugin for running dart stuff via an Android foreground service. Only barely tested on Android O, and ever so slightly on M. iOS support not planned.

2.0.1+1 #

Change ForegroundServiceNotification to public with private constructor so that hopefully the instance methods will show up in the pub.dev API reference

2.0.1 #

Add iOS dummy/placeholder so cross-platform apps that include this are still able to build

2.0.0+1 #

Include note about compileSdkVersion/targetSdkVersion requirement in README

2.0.0 #

Add foregroundServiceType to Android manifest (Requires Gradle compileSdkVersion/targetSdkVersion in app to be set to 29 or higher)

1.3.0 #

Service function can now be set to execute async(default) or synchronously using setServiceFunctionAsync

1.2.0 #

Messages can now be sent between the main app and the foreground service via ForegroundService.sendToPort

1.1.5 #

Properly re-hook service after app kill+relaunch

1.1.4 #

Actually return the default behavior, as was supposed to happen in 1.1.2

1.1.3 #

Allow ForegroundService plugin functions to be called from within designated service function

1.1.2 #

Return default behavior to continue running service after app is killed Alternate behavior might be desirable, so expose setContinueRunningAfterAppKilled method (only works with Android v2 embedding/Flutter 1.12.x+)

1.1.1 #

Correct releaseWakeLock method name typo

1.1.0+2 #

Remove author from pubspec (deprecated)

1.1.0+1 #

Update example/readme to reflect Flutter 1.12.x changes

1.1.0 #

Add foreground service permission/service to manifest in plugin

1.0.0 #

Implemented FlutterPlugin interface for Flutter 1.12.x

0.3.1 #

Updated Kotlin to v1.3.50, Gradle to v3.5.3

0.3.0 #

Add option to get a wake lock

Either by passing true to second parameter of startForegroundService or by calling new method getWakeLock()

0.2.1 #

Should no longer crash due to @UiThread exception.

0.2.0 #

Add functions to check service started status & stop service

0.1.1+1 #

Slightly updated readme

0.1.1 #

Fix bug (class would try to init Instant regardless of api level)

0.1.0+2 #

Try to fix wording. ("No" got left behind on a separate line, so it look liked it said "iOS support planned" at a glance).

0.1.0+1 #

Typo

0.1.0 #

1st version. Should suffice to take care of the simple case/bare necessities: Change title, Change text, Change icon, Change priority, and most importantly run a dart function within the context of a foreground service.

52
likes
30
points
14
downloads

Publisher

unverified uploader

Weekly Downloads

Flutter plugin for running dart stuff via an Android foreground service. Only barely tested on Android O, and ever so slightly on M. iOS support not planned.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on foreground_service