flutter_foreground_task 2.0.0
flutter_foreground_task: ^2.0.0 copied to clipboard
This plugin is used to implement a foreground service on the Android platform.
2.0.0 #
- [BREAKING] Remove singleton
instanceofFlutterForegroundTask. - [BREAKING]
TaskCallbackreturn type changed fromvoidtoFuture<void>. - [BREAKING] All functions of
FlutterForegroundTaskare applied as static. - [BREAKING] The way foreground task are registered has changed. See the readme for details.
- Add
printDevLogoption. - Update Readme.
- Update Example.
1.0.9 #
- Add
iconfield toNotificationOptions. - Change the model's
toMapfunction name totoJson.
1.0.8 #
- Add
FlutterForegroundTask.instance.update()function. - Updates README.md
1.0.7 #
- Fix incorrect comments and documents.
- Add
enableVibrationnotification options. - Add
playSoundnotification options.
1.0.5 #
- Fix an issue where
RemoteServiceExceptionoccurs.
1.0.4 #
- Add
WillStartForegroundTaskwidget.
1.0.3 #
- Fix incorrect comments and documents.
- Add
channelImportancenotification options. - Add
prioritynotification options.
1.0.1 #
- Add
WithForegroundTaskwidget.
1.0.0 #
- Initial release.