StoreRules

Rules · Meet Google Play's target API level requirement

Migrate from Android 11 (API level 30) to Android 12 (API level 31)

In plain words

Apps targeting Android 12 (API level 31) must update Bluetooth, location, exported-component and PendingIntent declarations, and follow new foreground service and notification trampoline limits.

  • Bluetooth: replace BLUETOOTH and BLUETOOTH_ADMIN with BLUETOOTH_SCAN, BLUETOOTH_ADVERTISE or BLUETOOTH_CONNECT; LOCATION runtime requests are no longer needed for Bluetooth operations.
  • Location: whenever you request ACCESS_FINE_LOCATION, you must also request ACCESS_COARSE_LOCATION, since users can grant only approximate location.
  • Activities, services and broadcast receivers with intent filters must explicitly declare android:exported; each PendingIntent must specify its mutability.
  • Apps targeting Android 12 or higher can't start foreground services from the background, except for a few special cases; otherwise an exception occurs.
  • Apps must not start activities from services or broadcast receivers used as notification trampolines; startActivity() can't be called there after a notification tap.
  • Android App Links verification requires intent filters with the BROWSABLE category and HTTPS scheme support.
  • Hibernation resets runtime permissions and cache of unused apps and blocks jobs and alerts; custom notification views now get a standard template.

Summary written by StoreRules and checked against the official text.

From the official text

Security and Permissions - Bluetooth: You must replace declarations for the BLUETOOTH and BLUETOOTHADMIN permissions with BLUETOOTHSCAN, BLUETOOTHADVERTISE, or BLUETOOTHCONNECT permissions. You no longer need to make LOCATION runtime permission requests for Bluetooth operations. - Location: Users can request apps to …

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

Developers' cases about this clause

No cases yet.

Share your case