NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
pub.dev · #860 most downloaded on pub.dev
This plugin is used to implement a foreground service on the Android platform.
Last release 27 days ago
07 Sep 2026
Release timing varies
gaps range from 9 days to 8 months
Nearly every release is documented
notes for 59 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
5 years old
103 releases · first in 2021
Fix issue with SharedPreferences won't provide updated data from main isolate while running on background. Thanks @h2210316651
Fix issue where sendPort returned null when restartService called.
Upgrade shared_preferences plugin.
One column per quarter.
isAppOnForeground function.
setOnLockScreenVisibility function. Thanks @Techno-Disaster
[#61] Add code to prevent ForegroundServiceStartNotAllowedException.
[#62] Fix issues with SharedPreferences.
Add SYSTEM_ALERT_WINDOW permission request function.
Add notification press handler for Android platform.
Upgrade Flutter SDK minimum version to 2.8.1
backgroundColor option for AndroidNotificationOptions.getAllData function.Downgrade Android minSdkVersion to 21.
[#42] Only minimize app on pop when there is no route to pop.
Upgrade shared_preferences: ^2.0.11
[iOS] Fixed an issue where notifications not related to the service were removed.
Add process exit code to prevent memory leak.
Upgrade shared_preferences: ^2.0.9
[Bug] Fixed an issue where lockMode(wakeLock, wifiLock) was not properly released when the service was forcibly shutdown.
Add wakeLock to keep the CPU active in the background.
android.permission.WAKE_LOCK permission to AndroidManifest.xml file.allowWifiLock of ForegroundTaskOptions class.Add requestIgnoreBatteryOptimization function.
requestIgnoreBatteryOptimization function.ValueGetter to AsyncValueGetter.[Bug] Fixed an issue where IllegalArgumentException was thrown when starting the service on Android version 11 and higher.
[Bug] Fixed an issue where RemoteServiceException occurred intermittently.
[iOS] Fixed an issue where all data stored in UserDefaults.standard was removed when the stopService function was called.
UserDefaults.standard was removed when the stopService function was called.Add restartService function. You can now restart the service to get the new ReceivePort.
restartService function. You can now restart the service to get the new ReceivePort.Upgrade shared_preferences: ^2.0.8
required keyword to parameters of saveData func.isSticky notification option for Android.Nothing published for this version
Nothing published for this version
[BREAKING] The way you start the foreground service and register tasks has changed. Check readme for more information.
start to startService.update to updateService.stop to stopService.isRunningTask to isRunningService.Fixed playSound option not working properly in the background.
Implement background task on iOS platform. Please check Readme as setup is required.
notification_options.dart.android_notification_options.dart.ios_notification_options.dart.playSound default value from true to false.Fixed duplicate call to startForegroundTask function.
sendPort parameter to TaskCallback.* Update README.md
Fix callbackHandle type casting error.
callbackHandle type casting error.Add utility methods related to battery optimization.
showWhen option.visibility option.Add autoRunOnBoot field to ForegroundTaskOptions. Check the readme for more details.
autoRunOnBoot field to ForegroundTaskOptions. Check the readme for more details.Add onDestroy to clean up used resources in callback functions.
onDestroy to clean up used resources in callback functions.Change the notification icon setting method.
[BREAKING] Remove singleton instance of FlutterForegroundTask.
instance of FlutterForegroundTask.TaskCallback return type changed from void to Future<void>.FlutterForegroundTask are applied as static.printDevLog option.Add icon field to NotificationOptions.
icon field to NotificationOptions.toMap function name to toJson.Add FlutterForegroundTask.instance.update() function.
FlutterForegroundTask.instance.update() function.Fix incorrect comments and documents.
enableVibration notification options.playSound notification options.Fix an issue where RemoteServiceException occurs.
RemoteServiceException occurs.Add WillStartForegroundTask widget.
WillStartForegroundTask widget.Fix incorrect comments and documents.
channelImportance notification options.priority notification options.* Add WithForegroundTask widget.
WithForegroundTask widget.* Initial release.
Your coding agent can read these notes before it upgrades. Set up the MCP server →