Closed gitton closed 8 years ago
Printing denied without the dialog is being clicked either on Don't allow or ok
What do you mean?
it is calling case .Denied when permission.request is called before the user response (works fine with permission like contacts etc)
I can't reproduce. Which version are you using?
version 1.3
I still can't reproduce. What's the result of permission.status
?
NotDetermined
Mmmm... Sorry but I don't see. Maybe update the lib like you did https://github.com/delba/Permission/issues/21 ?
Printing denied without the dialog is being clicked either on Don't allow or ok
let permission: Permission = .Notifications(categories: nil) permission.request { status in switch status { case .Authorized: print("authorized") case .Denied: print("denied") case .Disabled: print("disabled") case .NotDetermined: print("not determined") }