Accessing location in the foreground
In plain words
Apps should access location in the foreground rather than the background wherever possible, and should request only the minimum location scope needed; foreground service location access is approved only in some cases and under conditions.
- Foreground access happens while the app is open and visible; access after the user closes the app or returns to the home screen is background access.
- Foreground service (FGS) location access is subject to review and must be initiated as a continuation of an in-app, user-initiated action.
- FGS use must be terminated immediately after the app completes the intended use case of that user-initiated action.
- If FGS location use is equivalent to ACCESS_BACKGROUND_LOCATION (or otherwise location in the background), the app is subject to the background location permission requirements.
- Apps should request minimum scope, e.g. foreground instead of background permissions, or the location button for one-time or transactional requests; users should reasonably expect the feature needs that location level.
From the official text
Whenever possible, aim to access the location in the foreground rather than the background. What’s the difference? Access to the location in the foreground happens while an app is open and visible to the user. If the access happens after a user closes the app or uses the home button to return to their main screen, …
Read the full official text ↗ Open in the StoreRules library Ask whether your app complies
Developers' cases about this clause
No cases yet.