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

Content doesn't update when coming back from settings #107

Closed bilode closed 5 years ago

bilode commented 5 years ago

Steps:

Observed behavior: Corresponding switch doesn't update its state after the app comes back to the foreground

ivanvorobei commented 5 years ago

After change state of permission, app should reload.

ivanvorobei commented 5 years ago

@bilode which permission you use for it?

bilode commented 5 years ago

.notification and .locationAlwaysAndWhenInUse When I allow any of those authorizations in the settings and come back, I have to tap the switch once to set it to its correct state

ivanvorobei commented 5 years ago

@bilode I see app not reload for .notification & .location.... It strange, for other permissions app reload after change state in settings.

I need some time for implement it.

ivanvorobei commented 5 years ago

I am upload new versions 3.0.8 with fix it. Please, update.