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 1 months 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-iOS] Include the objective-c shim in the podspec source_files so it is compiled under CocoaPods
[FIX-iOS] Add objective-c shim for FlutterForegroundTaskPlugin
[CHORE] Upgrade shared_preferences from 2.5.3 to 2.5.5
One column per quarter.
[CHORE] Bump minimum supported SDK version to Flutter 3.44/Dart 3.12
Flutter 3.44/Dart 3.12[CHORE] Bump minimum supported SDK version to Flutter 3.38.0
Flutter 3.38.0[FIX] Resolved frequent ForegroundServiceDidNotStartInTime and ForegroundServiceDidNotStopInTime exceptions by avoiding redundant foreground service s
[FIX] Prevent crash in onDestroy #372
[FEAT] Add allowAutoRestart option, which enables the service to automatically restart if it is terminated by the system.
allowAutoRestart option, which enables the service to automatically restart if it is terminated by the system.stopWithTask option, to ensure service termination when the app UI is dismissed.mediaProcessing foreground service type.FLAG_STOP_WITH_TASK bitmask check error.[FEAT] Support manual foregroundServiceType via serviceTypes in startService
[CHORE] Bump minimum supported SDK version to Flutter 3.22/Dart 3.4
Flutter 3.22/Dart 3.4kotlin_version(1.7.10 -> 1.9.10), gradle(7.3.0 -> 8.6.0) for Android 15isTimeout param to the onDestroy callback[FEAT] Allow onNotificationPressed to trigger without SYSTEM_ALERT_WINDOW permission
onNotificationPressed to trigger without SYSTEM_ALERT_WINDOW permission
launchApp function inside the onNotificationPressed callbacknotificationInitialRoute option of the startService or updateService functions[BREAKING] Change ServiceRequestResult class to sealed class for improved code readability
ServiceRequestResult class to sealed class for improved code readabilitycopyWith function for models reuse[FEAT] Support quickboot for HTC devices
[CHORE] Downgrade iOS minimumVersion from 13.0 to 12.0
13.0 to 12.0[FEAT] Add setOnlyAlertOnce option to AndroidNotificationOptions pr-#287
setOnlyAlertOnce option to AndroidNotificationOptions pr-#287DEFAULT to LOW[FEAT] Allow sending Set collection using FlutterForegroundTask.sendDataToMain
Set collection using FlutterForegroundTask.sendDataToMain[FIX] Fixed an issue where main function was called repeatedly when there was no callback to start
[FIX] Fixed an issue where exception was thrown when flutterEngine failed to start #282
[BREAKING] Change onStart, onDestroy callback return type from void to Future
onStart, onDestroy callback return type from void to Future<void>
[CHANGE] Ignore autoRunOnBoot option when service is stopped by developer
autoRunOnBoot option when service is stopped by developerautoRunOnBoot option when android:stopWithTask is set to truestarter parameter to onStart callback of TaskHandler.developer: The task has been started by the developer (startService, restartService, updateService).system: The task has been started by the system (reboot, app-updates, AlarmManager-restart)BGTaskSchedulerPermittedIdentifiers key in ios/Runner/info.plist file[DOCS] Update example to see two-way communication flow
[FIX] Fix issue related to openIgnoreBatteryOptimizationSettings #275
openIgnoreBatteryOptimizationSettings #275[REMOVE] Remove notification permission request code in startService
eventAction: ForegroundTaskEventAction.repeat(millis)onStart - (millis) - onRepeatEvent - (millis) - onRepeatEvent..[FEAT] Allow permission settings page to be opened even if permission is granted
[BREAKING] Change the way to set the task intervals (for increase scalability)
interval, isOnceEvent option in ForegroundTaskOptions modeleventAction option with ForegroundTaskEventAction constructor[FEAT] Add openAlarmsAndRemindersSettings utility
openAlarmsAndRemindersSettings utility
android.permission.SCHEDULE_EXACT_ALARM permission.canScheduleExactAlarms utility
android.permission.SCHEDULE_EXACT_ALARM permission is granted.Nothing published for this version
[FIX] Fixed an issue where Map collection could not be cast in onReceiveData #258
[DEPRECATED] Deprecated AndroidNotificationOptions.id. Use startService(serviceId) instead.
[CHORE-AOS] Down Android minSdkVersion to 21
[FIX-AOS] Fixed an issue where notification text was not visible on Android 7.1 and below
Example._requestPermissions function[BREAKING] Redesign the communication method between TaskHandler and UI
SendPort.send does not work when calling receivePort getter function after app restart #244[FIX] Fixed an issue that caused poor performance and delays in TaskHandler
Update documentation on how to pass timestamp to UI isolate
WithForegroundTask documentation comments[FEAT] Support notificationText with multiple lines #182
WillStartForegroundTask widget
[FEAT-Recommended] Improve restart alarm that occurs when the service terminates abnormally
[FIX] Fixed an issue where notification events were handled on both when using plugin in multiple apps #137
[FEAT] Add result class to handle service request errors
ServiceRequestResultFlutterForegroundTask.sendData function[FEAT] Add ability to restart service when app is deleted from recent app list
REQUEST_IGNORE_BATTERY_OPTIMIZATIONS permissionisSticky from AndroidNotificationOptions
[FEAT-Recommended] Allow updateService to be processed without service restart
[CHORE] Updates minimum supported SDK version to Flutter 3.10 / Dart 3.0
Flutter 3.10 / Dart 3.0iconData, buttons from AndroidNotificationOptions
onNotificationDismissed callback for Android 14[CHORE] Bump Android minSdkVersion to 23
[REMOVE] Remove foregroundServiceType option
foregroundServiceType optionautoRunOnMyPackageReplaced option[FEAT] ~~Add option to allow multiple foregroundServiceType~~
[FEAT] ~~Add foregroundServiceType option to specify foreground service type on Android 14 and higher~~
foregroundServiceType option to specify foreground service type on Android 14 and higher[CHORE] Remove platform dependency
[FIX] Fix issue where SecurityException occurred when registering runtime receiver #175
[TEST] Add assertions to service options
[BREAKING] Remove future return of TaskHandler callback function
[REFACTOR] Move required permissions on the Android platform inside the plugin
[BREAKING] Rename the callback function to clarify what information the event provides
onButtonPressed to onNotificationButtonPressedonEvent to onRepeatEvent[FIX] Fix issue where service could not be started in the background
[FEAT] Add id option to AndroidNotificationOptions
[CHORE] Update dependency constraints to sdk: '>=2.18.0 <4.0.0' flutter: '>=3.3.0'
sdk: '>=2.18.0 <4.0.0' flutter: '>=3.3.0'FlutterForegroundTask.checkNotificationPermission()FlutterForegroundTask.requestNotificationPermission()[FEAT] Add notification permission request func for Android 13
startService function is called.<uses-permission android:name="android.permission.POST_NOTIFICATIONS" /> permission to your AndroidManifest.xml file.[CHORE] Bump Android coroutines version to 1.6.4
* [FIX] Fix mounted error #133
[CHORE] Bump Android Gradle version to 7.1.2
[FEAT] Add isOnceEvent option to ForegroundTaskOptions.class.
isOnceEvent option to ForegroundTaskOptions.class.entry-point pragma.[FEAT] Add allowWakeLock option to ForegroundTaskOptions.class.
allowWakeLock option to ForegroundTaskOptions.class.forceOpen option to openSystemAlertWindowSettings().Your coding agent can read these notes before it upgrades. Set up the MCP server →