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

Requesting .locationAlwaysAndWhenInUse when "whenInUse" is already accepted calls "didDenied" directly #119

Closed KevinQuisquater closed 4 years ago

KevinQuisquater commented 5 years ago

Steps to reproduce:

SPPermission.Dialog.request(with: [.locationAlwaysAndWhenInUse],
                            on: self,
                            delegate: self,
                            dataSource: self)
ivanvorobei commented 4 years ago

@KevinQuisquater I am publish new version 5.0.2, if bug show now - please, write here.