Martin Denion
Martin Denion

Reputation: 382

How to disable permission requests on Android 12?

I am developing an app for an Android platform (OS 12). This application will not have a screen, will not be deployed on the Google PlayStore and will have access to different media (camera, storage, ...).

Since I won't have a screen, I'd like to know how to disable permission requests, knowing that my targetSdkVersion should stay at 30. Is there a way to have "all rights" on the app?

Upvotes: 1

Views: 1092

Answers (1)

Supra Chan
Supra Chan

Reputation: 90

You may enforce permissions without asking the user if you first declare what apps and which permissions the system should whitelist.

You can read more about it here: https://source.android.com/devices/tech/config/perms-allowlist

Upvotes: 2

Related Questions