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

Permission.location(access: .always).request {} bad #343

Closed luckycherry closed 4 months ago

luckycherry commented 4 months ago

The normal flow is to first prompt for "whenInUse" and then prompt for "always"

Permission.location(access: .whenInUse).request { // choice "While Using App" if Permission.location(access: .whenInUse).status == .authorized { Permission.location(access: .always).request {

                    }
                }
            }
ivanvorobei commented 4 months ago

Please describe bug clear