Skip to content

Commit 049fa9f

Browse files
Updates the Android example app FOREGROUND_SERVICE_LOCATION manifest permission (#1705)
* Updates Android package by adding FOREGROUND_SERVICE_LOCATION to the Android manifest * updated project * Removed new version number. This does not need to be released since it is the example app.
1 parent 392b2d5 commit 049fa9f

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

geolocator_android/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## NEXT
2+
3+
- Fixes PlatformException in example app for Android 14 (API level 34) versions and newer by updating manifest permissions.
4+
15
## 5.0.1+1
26

37
- Bump `androidx.core:core` to version 1.16.0

geolocator_android/example/android/app/src/main/AndroidManifest.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
<!-- Permissions options for the `location` group -->
1010
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
1111
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
12+
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_LOCATION" />
1213
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
1314
<uses-permission android:name="android.permission.POST_NOTIFICATIONS" />
1415

0 commit comments

Comments
 (0)