What is a foreground service permission and does it need to be granted by the user before starting a foreground service?
In plain words
Apps targeting Android 14 that use a foreground service must declare the foreground service permission matching that specific service type; these permissions are granted at install and users cannot revoke them.
- Example: using the "location" foreground service type requires declaring the FOREGROUND_SERVICE_LOCATION permission.
- Type-specific foreground service permissions are normal permissions, granted by default at install time.
- Users cannot revoke these permissions.
From the official text
When apps that target Android 14 use a foreground service, developers must declare the appropriate foreground service permission for that specific foreground service type. For example, if your app uses the "location" foreground service type, you will need to declare the FOREGROUNDSERVICELOCATION permission. Foreground …
Read the full official text ↗ Open in the StoreRules library Ask whether your app complies
Developers' cases about this clause
No cases yet.