When should you request the QUERY_ALL_PACKAGES permission?
In plain words
Request QUERY_ALL_PACKAGES only if your app falls within permitted uses, its core purpose is searching all apps on the device, and a less intrusive visibility method can't enable that core functionality.
- The permission only takes effect when the app targets Android API level 30 or later on devices running Android 11 or later.
- You must be able to adequately justify why a less intrusive method of app visibility will not sufficiently enable your policy-compliant core functionality.
- Core functionality is the app's main purpose; without the ability to search all apps, the app is "broken" or unusable.
- The core functionality and the core features that comprise it must all be prominently documented and promoted in the app's description.
From the official text
The QUERYALLPACKAGES permission only takes effect when your app targets Android API level 30 or later on devices running Android 11 or later. To use this permission, your app must fall within permitted uses below, and have a core purpose to search for all apps on the device. You must be able to adequately justify why …
Read the full official text ↗ Open in the StoreRules library Ask whether your app complies
Developers' cases about this clause
No cases yet.