In-app Permission toggle

I’m building a setting screen for a client app where the user can toggle on or off specific permissions, location or camera access, for example.

Something like this:

However, I cannot find a way to revoke permissions within Expo’s SDK. I could of course use internal state within the app to determine if I should act like a specific permission is granted, however, that won’t fly since the client is very insistent that if a user has not granted a specific permission, the OS needs to say the same. In other words, when going in the Android settings and the notification settings, if the user has revoked a permission, it needs to not be listed as granted in the notification settings.

Is there anyway to do this with Expo?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.