-
Notifications
You must be signed in to change notification settings - Fork 471
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
Please Allow Camera Access shows in camera view even if accepted allowing access. #31
Comments
Upon further examination, I think this is because if not authorized, a overlay is placed on the camera view. The current way doesn't care if the user allows for camera use because the overlay was already set. I think a better way is to only allow one to see the Camera view if they have authorized it. Otherwise, don't let them get there. I think the following way is a good way to handle it. The following code should suffice:
Of course, you changed your solution to use DKCamera, so you'll need to refine it a bit to be able to inject this somewhere, but the logic holds. |
@dilizarov |
I will release the 3.0.0 with Photos framework. develop. I believe this will improve the issue. |
For what it is worth, I'm using the version where you haven't created DKCamera, so I don't know if new versions fix this, but this is a problem I've run into. The only way to get rid of it is to close the app, reopen and then try again.
If I decide not to accept allowing access, I see the prompt again, it takes me to settings, but when I change the settings, then go back to app, the prompt is still there.
Does DKCamera fix this?
Edit: I just checked and DKCamera doesn't seem to have this fixed.
The text was updated successfully, but these errors were encountered: