Reputation: 382
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: 1094
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