-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not handling authorization properly #20
Comments
I had to handle authorization myself before using this library: Not sure if it is iOS 14 thing or it was like this before. |
You need to handle authorization like this https://github.com/mercari/QRScanner/blob/master/QRScannerSample/QRScannerSample/ViewController.swift#L24 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When I run the app first time, I get didFailure twice with error:
and at the same time authorization alert shows up. When I tap "Deny" didFailure is not triggered anymore. It should not throw this errors before user makes a decision.
The text was updated successfully, but these errors were encountered: