Skip to content

Commit 108d29e

Browse files
authored
Merge pull request #450 from aojea/mobile-drop-background-location
mobile: drop ACCESS_BACKGROUND_LOCATION from the manifest
2 parents b4313a8 + e2758cf commit 108d29e

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

mobile/sam-node-app/android/app/src/main/AndroidManifest.xml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
22
<uses-permission android:name="android.permission.INTERNET"/>
3+
<!-- Coarse only, and no ACCESS_BACKGROUND_LOCATION: get_location is served
4+
from the foreground service (type "location"), which Android counts as
5+
foreground access while the node runs off-screen. -->
36
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
4-
<uses-permission android:name="android.permission.ACCESS_BACKGROUND_LOCATION"/>
57
<uses-permission android:name="android.permission.FOREGROUND_SERVICE"/>
68
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_CONNECTED_DEVICE"/>
79
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_LOCATION"/>

0 commit comments

Comments
 (0)