Android Question "reset" runtimepermissions

leitor79

Active Member
Licensed User
Longtime User
Hi,

For debug purposes, I'd like to "reset" the permissions given by previous debug sessions of my app every time I start it again.

I've tried RemovePermission(), but it seems the checkandrequest still returns true to that permission...

Thank you very much!
 

wes58

Active Member
Licensed User
Longtime User
thank you!
so, there isn't an easier way? I maybe have to do this several times...
Thank you!
Or you can go to Settings for you application and uncheck permissions that you don't want. When you start your application it should ask for the permission again
 
Upvote 0

Xicu

Active Member
Licensed User
Longtime User
Or you can go to Settings for you application and uncheck permissions that you don't want. When you start your application it should ask for the permission again
I've tried it and it works. When you start your application it ask for the permission again
 
Upvote 0

wes58

Active Member
Licensed User
Longtime User
I don't think that it will "clear" the permission state but it is worth testing.
That's what Google wanted the user to be able to do with the installed applications - i.e review and change/revoke permissions for the installed applications if he wishes to do it.
 
Upvote 0
Top