Skip to content

Commit f0c757c

Browse files
committed
Added foreground service service special use permission
1 parent fcc70ea commit f0c757c

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ android {
3838
}
3939

4040
dependencies {
41-
implementation files('localLib/flutter.jar')
41+
//implementation files('localLib/flutter.jar')
4242
implementation 'androidx.appcompat:appcompat:1.6.1'
4343
implementation 'com.google.code.gson:gson:2.8.9'
4444
}

android/src/main/AndroidManifest.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
<uses-permission android:name="android.permission.WAKE_LOCK" />
88
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" />
99
<uses-permission android:name="android.permission.POST_NOTIFICATIONS" />
10+
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_SPECIAL_USE" />
1011

1112
<application>
1213
<activity

0 commit comments

Comments
 (0)