Revoke permission in app


In my project I have a screen to manage application permissions. Example:
I request geolocation, then the user wants to withdraw the permission. He doesn’t have to go to phone settings, but he can do it directly from the app.

I use the diagnostic plugin to request the permissions but I can’t find anything to cancel them.

Do you have any ideas to help me?

Thank you in advance

In both Android and iOS, once a user has granted (or rejected) a permission, the only way to change it is in the settings app. It is not possible to programmatically remove a permission. You could link a user to the settings page using a deeplink, but that would require a plugin and knowing the deeplink to your app’s permissions page in iOS and Android

1 Like