I've already googled this question but haven't found anything yet, so I need your help. How to remove the third option of permission to the memory, because if the user accidentally clicks on it, it will be necessary to go to the settings and allow the permission to the program manually, and since in general 30-40% of users are able to do this, only one will have to reinstall the program .
Asked
Active
Viewed 68 times
0
-
rebuild the OS yourself, flash your device and you can remove the option :-) – Blundell Jul 05 '22 at 13:34
-
I know it is possible to do so, this picture proves it – Орест Третяк Jul 05 '22 at 15:26
-
1That doesn't prove that at all. It just proves it isn't there on _some_ Android versions. That is an OS feature. You'll need to handle the situation if the user denies permission. You can navigate the user directly to your app's permissions. – Christopher Schneider Jul 05 '22 at 15:39
-
1This is not possible as it is a System's permission dialog. It also depends on the api-level & the OEM's own implementation. – Darshan Jul 05 '22 at 17:15
1 Answers
2
As people in the comments have said, it is a system dialog and you cannot change it. If you want to help users find your app's settings you can try sending them there.
Also note that according to the docs
Starting in Android 11 (API level 30), if the user taps Deny for a specific permission more than once during your app's lifetime of installation on a device, the user doesn't see the system permissions dialog if your app requests that permission again. The user's action implies "don't ask again."
So you have to deal with permanent denials even if there isn't a dedicated button.

Sergei Kozelko
- 691
- 4
- 17