Skip to content

Commit 252abea

Browse files
committed
chore: add missing permissions for android example app
1 parent b085527 commit 252abea

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

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

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,10 @@
1515
-->
1616

1717
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
18-
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
18+
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
1919
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
20+
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
21+
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_LOCATION" />
2022
<application
2123
android:label="google_maps_driver_example"
2224
android:icon="@mipmap/ic_launcher">
@@ -36,12 +38,12 @@
3638
while the Flutter UI initializes. After that, this theme continues
3739
to determine the Window background behind the Flutter UI. -->
3840
<meta-data
39-
android:name="io.flutter.embedding.android.NormalTheme"
40-
android:resource="@style/NormalTheme"
41-
/>
41+
android:name="io.flutter.embedding.android.NormalTheme"
42+
android:resource="@style/NormalTheme"
43+
/>
4244
<intent-filter>
43-
<action android:name="android.intent.action.MAIN"/>
44-
<category android:name="android.intent.category.LAUNCHER"/>
45+
<action android:name="android.intent.action.MAIN" />
46+
<category android:name="android.intent.category.LAUNCHER" />
4547
</intent-filter>
4648
</activity>
4749
<!-- Don't delete the meta-data below.
@@ -50,4 +52,4 @@
5052
android:name="flutterEmbedding"
5153
android:value="2" />
5254
</application>
53-
</manifest>
55+
</manifest>

0 commit comments

Comments
 (0)