Home > other >  Access All Files WIthout Prompt
Access All Files WIthout Prompt

Time:11-06

I'm targeting Android 11. Is there a way to give full access to an application programmatically without having to prompt the User with a dialog, the intent and  ACTION_MANAGE_APP_ALL_FILES_ACCESS_PERMISSION etc? 

And if not, I would just like to prompt the User one time, not having to prompt the User every time the app runs.

CodePudding user response:

When you use a permission in Android you have to ask the user to. Unless the user disable it, the permission still enabled for your app since the user accepted it.

You can see here how to ask for permissions : https://developer.android.com/training/permissions/requesting

  • Related