sparrowcode / PermissionsKit

Universal API for request permission and get its statuses.
https://x.com/sparrowcode_ios
MIT License
5.64k stars 462 forks source link

Add a new mechanic of handling the re-request of permissions #73

Closed Eric0625 closed 5 years ago

Eric0625 commented 5 years ago

When the app request permissions for the first time and user granted the request, this module works like perfect. But when user denied the first request, the dialog just does nothing when user press the "allow" button after it shows up the second time. So I added a new mechanic to give user another chance to edit the permissions of their apps.

It worked well in my app.

ivanvorobei commented 5 years ago

Thanks! Please, tell me, after return to app application should stop and run again (Apple reload application) In your version application reload after return from settings?

Eric0625 commented 5 years ago

Yes, it is reloaded after user changed the settings

ivanvorobei commented 5 years ago

I am added alert about denied permission in version 2.4.8. Please, update

Thanks for your work!