Software Archive
Read-only legacy content
17061 Discussions

How to revoke previously granted user permissions

Grant2
Beginner
257 Views

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?

 

0 Kudos
2 Replies
PaulF_IntelCorp
Employee
257 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.

0 Kudos
Grant2
Beginner
257 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.

0 Kudos
Reply