Skip to content
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

Open
piotrros opened this issue Oct 14, 2020 · 2 comments
Open

Not handling authorization properly #20

piotrros opened this issue Oct 14, 2020 · 2 comments

Comments

@piotrros
Copy link

When I run the app first time, I get didFailure twice with error:

unauthorized(__C.AVAuthorizationStatus)
unauthorized(__C.AVAuthorizationStatus)

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.

@piotrros
Copy link
Author

I had to handle authorization myself before using this library:

https://developer.apple.com/documentation/avfoundation/cameras_and_media_capture/requesting_authorization_for_media_capture_on_ios

Not sure if it is iOS 14 thing or it was like this before.

@hitsubunnu hitsubunnu added the enhancement New feature or request label Dec 29, 2021
@hitsubunnu hitsubunnu removed the enhancement New feature or request label Jan 5, 2023
@hitsubunnu
Copy link
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants