Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Grant2
Beginner
43 Views

How to revoke previously granted user permissions

My app requires the user to grant permission to the user's location.  The first time I pushed the app to the test server through Intel XDK and ran it through the app preview, I was asked to give this permission to the app (as expected) and I did give permission.  Now I'd like to test to see what happens if the user denies this permission. But I'm not prompted to give permission again even after pushing a new build to the test server.  How can I revoke this permission or just get prompted for it again?

 

Tags (2)
0 Kudos
2 Replies
PaulF_IntelCorp
Employee
43 Views

Try deleting the cache for App Preview (in the Android "apps" section, find the app and clear the cache and data). If that doesn't work, try building the app and testing it that way. If you test with a built app you can remove the app and reinstall to recheck such behavior.

Grant2
Beginner
43 Views

Thanks Paul.  I was able to revoke location permissions to app preview under the android apps section and that revoked them in my app within app preview as well.  I guess that makes sense - thanks for the tip.

Reply