diff --git a/CHANGELOG.md b/CHANGELOG.md index 24071c8..d9a24dd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +## 8.10.2 + +* [**FIX**] Fixed an issue where exception was thrown when flutterEngine failed to start [#282](https://github.com/Dev-hwang/flutter_foreground_task/issues/282) +* [**FIX**] Fixed an issue with flutterEngine not being destroyed properly + ## 8.10.0 * [**BREAKING**] Change `onStart`, `onDestroy` callback return type from `void` to `Future` diff --git a/README.md b/README.md index 34e3644..c20fee1 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,7 @@ To use this plugin, add `flutter_foreground_task` as a [dependency in your pubsp ```yaml dependencies: - flutter_foreground_task: ^8.10.0 + flutter_foreground_task: ^8.10.2 ``` After adding the `flutter_foreground_task` plugin to the flutter project, we need to specify the permissions and service to use for this plugin to work properly. @@ -40,7 +40,21 @@ If you want the foreground service to run only when the app is running, add `and As mentioned in the Android guidelines, to start a FG service on Android 14+, you must specify `android:foregroundServiceType`. -You can read all the details in the Android Developer Page : https://developer.android.com/about/versions/14/changes/fgs-types-required +* [`camera`](https://developer.android.com/about/versions/14/changes/fgs-types-required#camera) +* [`connectedDevice`](https://developer.android.com/about/versions/14/changes/fgs-types-required#connected-device) +* [`dataSync`](https://developer.android.com/about/versions/14/changes/fgs-types-required#data-sync) +* [`health`](https://developer.android.com/about/versions/14/changes/fgs-types-required#health) +* [`location`](https://developer.android.com/about/versions/14/changes/fgs-types-required#location) +* [`mediaPlayback`](https://developer.android.com/about/versions/14/changes/fgs-types-required#media) +* [`mediaProjection`](https://developer.android.com/about/versions/14/changes/fgs-types-required#media-projection) +* [`microphone`](https://developer.android.com/about/versions/14/changes/fgs-types-required#microphone) +* [`phoneCall`](https://developer.android.com/about/versions/14/changes/fgs-types-required#phone-call) +* [`remoteMessaging`](https://developer.android.com/about/versions/14/changes/fgs-types-required#remote-messaging) +* [`shortService`](https://developer.android.com/about/versions/14/changes/fgs-types-required#short-service) +* [`specialUse`](https://developer.android.com/about/versions/14/changes/fgs-types-required#special-use) +* [`systemExempted`](https://developer.android.com/about/versions/14/changes/fgs-types-required#system-exempted) + +You can read all the details in the [Android Developer Page](https://developer.android.com/about/versions/14/changes/fgs-types-required) ``` diff --git a/pubspec.yaml b/pubspec.yaml index b3ea134..50a4f2f 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: flutter_foreground_task description: This plugin is used to implement a foreground service on the Android platform. -version: 8.10.0 +version: 8.10.2 homepage: https://github.com/Dev-hwang/flutter_foreground_task environment: