GoodBarber's Online Help
Request access to location in the background for your geofences - Android
Since October 2020, to use the location in the background on Android app (meaning the app will keep locating the final user even if the app in not active but only running in the background of the user’s phone) Google must allow it.
For this you must get approval from Google for your app's access to location in the background.
The location in the background is by default not used on GoodBarber apps, unless you added the geofences extension in your back office.
We list in this online help what you need to do, to use the geofence extension on your app and get approval for your app's access to location in the background.
For more details, please read Google's documentation: https://support.google.com/googleplay/android-developer/answer/9799150
Provide prominent in-app disclosure
"You must provide an in-app disclosure of your data access, collection, use, and sharing.
The language in the disclosure MUST include the following elements:
- The term “location”
- Indication that the nature of usage is in the background by using one of the following phrases “background” / “when the app is closed” / “always in use” / “when the app is not in use”
- A list of all the features that use location in the background"
Set your prominent in-app disclosure:
1. Go to the menu Settings > App Settings > Compilation settings of your back office
2. Edit the default message under "Geolocation alert message"
3. Rebuild your Android app to apply your modification from the menu Publish > Android app > Publish that will generate a new version of your Android app.
Provide a video demonstration
"As part of the permissions declaration, you must provide a link to a short video that demonstrates the location-based feature in your app that requires access to location in the background (while the app is not in use)."
Basically, you need to make a video screen of your app showing:
1. The prominent in-app disclosure dialog displayed to users (described above)
2. When you receive a push notification via the geofence extension to justify the use of the location in background (while the app is not in use).
Use the Android Ad-Hoc version (test version of your app) to create your video.
The recommended duration is 30 seconds or less. A YouTube link is the preferred video format, but Google Drive storage links to an mp4 or other common video file formats are also supported.
Declare permission for your app
The Permissions Declaration Form is displayed during the release process, if the app includes an APK that requests permission for which a Permissions Declaration has not been provided to Google Play.
If you have active APKs that require a Permissions Declaration, an alert is displayed on the left menu under Store Presence > App Content of the Play Store.
You cannot publish any changes to your app, including changes to your Store Presence (e.g. Store Listing, Pricing & Distribution) until you address this alert by creating a release that includes a Permissions Declaration.
1. Open the Play Console .
2. Select your app
3. Go to the menu Policy > App Content
4. Click "Start" under Sensitive app permissions and fill in the form:
- Android P or older: Select Yes
- Policy compliance: SelectYes, this app meets the Location permissions policy
- App Purpose: Explain what is the main purpose of your app
- Location access: Explain why does your app need access to location in the background (how you use the geofence extension)
- Video instructions: Provide the link to your video (see step 3 above)
5. Click "Save"
GoodBarber Takes Care Service process:
1. When you fill in the form to ask for your Android app to be generated (compiled), specify:
- App Purpose: Explain what is the main purpose of your app.
- Location access: Explain why does your app need access to location in the background (how you use the geofence extension).
- Leave the video URL empty for now.
2. Once your app is generated, create your video using the ad hoc version generated (see step 3 above)
3. Add your video URL in this form and save it (the video url is mandatory to be able to submit your app to the Play Store.)
4. Ask for the submission of your app to the Play Store.