Created
July 14, 2021 13:50
-
-
Save qichuan/f5ebd4f0e959c25cbc8a40ac9334da72 to your computer and use it in GitHub Desktop.
android_location_manifest_android_10
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Specify the permissions that you are using --> | |
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/> | |
<!-- Specify the background location permission. --> | |
<uses-permission android:name="android.permission.ACCESS_BACKGROUND_LOCATION" /> | |
<!-- Declare a foreground service, if applicable --> | |
<service | |
android:name="MyForgroundService" | |
android:foregroundServiceType="location"> | |
</service> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment