Skip to content

Commit

Permalink
Remove ACCESS_COARSE_LOCATION permission
Browse files Browse the repository at this point in the history
Require developers to add ACCESS_COARSE_LOCATION to their AndroidManifest themselves. This is done to avoid the location permission requirement for those who use the com.onesignal:OneSignal package like our wrapper SDKs. This change reverts back to the player model behaviour
  • Loading branch information
shepherd-l committed Dec 28, 2023
1 parent c5f48ad commit 44e411b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions OneSignalSDK/onesignal/location/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
<manifest>

<!-- At a minimum the location module requires course permission, the app has the option
to also include ACCESS_FINE_LOCATION and/or ACCESS_BACKGROUND_LOCATION -->
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
</manifest>

0 comments on commit 44e411b

Please sign in to comment.