StoreRules

Rules · Minimum Scope: Foreground Location Access and the Location Button · When is the location button Required?

Example Implementation (Manifest)

In plain words

If your app needs precise location only through the location button, you must declare ACCESS_FINE_LOCATION in AndroidManifest.xml with the onlyForLocationButton flag.

  • Use the android:usesPermissionFlags="onlyForLocationButton" attribute on the android.permission.ACCESS_FINE_LOCATION uses-permission entry.
  • The declaration applies when precise location is required only via the button.
  • For technical details, consult the API documentation.

Summary written by StoreRules and checked against the official text.

From the official text

If your app only requires precise location via the button, you must declare it in your AndroidManifest.xml using the onlyForLocationButton attribute: XML | <uses-permission android:name="android.permission.ACCESSFINELOCATION" android:usesPermissionFlags="onlyForLocationButton" / | For technical details, please consult …

Read the full official text ↗ Open in the StoreRules library Ask whether your app complies

Change history

No substantive change since StoreRules began tracking it.

First seen: 2026-10-26

Developers' cases about this clause

No cases yet.

Share your case