Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable dismissal until all permissions have been allowed #160

Open
feelingsonice opened this issue Jun 25, 2024 · 0 comments
Open

Disable dismissal until all permissions have been allowed #160

feelingsonice opened this issue Jun 25, 2024 · 0 comments
Labels
feature request Request or suggestion for new feature

Comments

@feelingsonice
Copy link

Right now when the user denies a permission it shows a "DENIED" button and tapping on it does nothing. Furthermore, the user is able to dismiss the alert once they've interacted with every permission, even if some permissions have been denied.

I'd look for a way to do the following:

  1. If the user denied a permission, instead of a "DENIED" button that does nothing, open the settings page. This can be done via UIApplication.shared.open(URL(string: UIApplication.openSettingsURLString)!)
  2. A way to disable dismissal of the alert entirely until all permission have been allowed
  3. Have the auto check authorization feature respect 2). In other words, there's no "X" button on the top right anymore, the view is dismissed automatically once the user allowed every single permission requested.

Basically, I'm looking for a way to force the user to allow every permission requested in order to use the app. And provide the user with a button that takes them to settings if they denied a permission. Is there a way to achieve this right now?

@feelingsonice feelingsonice added the feature request Request or suggestion for new feature label Jun 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request Request or suggestion for new feature
Projects
None yet
Development

No branches or pull requests

1 participant