Android Question "reset" runtimepermissions

leitor79

Active Member
Licensed 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!
 

leitor79

Active Member
Licensed User
thank you!
so, there isn't an easier way? I maybe have to do this several times...
Thank you!
 

wes58

Active Member
Licensed 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
 

Xicu

Active Member
Licensed 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
 

wes58

Active Member
Licensed 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.
 
Top