Skip to content

Commit 42a88ad

Browse files
committed
release: 9.2.0
1 parent 2b8bca0 commit 42a88ad

File tree

4 files changed

+10
-3
lines changed

4 files changed

+10
-3
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
## 9.2.0
2+
3+
* [**FEAT**] Add `allowAutoRestart` option, which enables the service to automatically restart if it is terminated by the system.
4+
* [**FEAT**] Add `stopWithTask` option, to ensure service termination when the app UI is dismissed.
5+
* [**FEAT**] Add `mediaProcessing` foreground service type.
6+
* [**FIX**] Fix `FLAG_STOP_WITH_TASK` bitmask check error.
7+
18
## 9.1.0
29

310
* [**FEAT**] Support manual foregroundServiceType via serviceTypes in startService

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ To use this plugin, add `flutter_foreground_task` as a [dependency in your pubsp
2727

2828
```yaml
2929
dependencies:
30-
flutter_foreground_task: ^9.1.0
30+
flutter_foreground_task: ^9.2.0
3131
```
3232
3333
After adding the plugin to your flutter project, we need to declare the platform-specific permissions ans service to use for this plugin to work properly.

example/android/app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ android {
4444
defaultConfig {
4545
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
4646
applicationId "com.pravera.flutter_foreground_task_example"
47-
minSdkVersion 21
47+
minSdkVersion flutter.minSdkVersion
4848
targetSdkVersion 35
4949
versionCode flutterVersionCode.toInteger()
5050
versionName flutterVersionName

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: flutter_foreground_task
22
description: This plugin is used to implement a foreground service on the Android platform.
3-
version: 9.1.0
3+
version: 9.2.0
44
homepage: https://github.com/Dev-hwang/flutter_foreground_task
55

66
environment:

0 commit comments

Comments
 (0)