-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
getPickImageChooserIntent permission bug #71
Comments
Did you use the standard Android camera? |
I guess I use the default camera from google, and the error is just after the intent is fired, but from the operating system. Something with |
Strange.. I never experienced it.. |
Maybe it could be because I use the camera in an other part of the app to scan barcodes? |
Holly shit, you are right, when I added |
Hmmm... I changed the camera intent action from |
Digging a little deeper.
|
I got some errors on my nexus 5(droid-6.0.1) while using the
getPickImageChooserIntent
because when I chose the camera I did not have enough permissions. So I used the code placed below to fix it. Maybe this can be useful for someone else (or could be integrated into the library).It's a bit dirty because it asks you to give it permissions regardless of choosing the camera. If someone has a more clean solution I like to hear it.
The text was updated successfully, but these errors were encountered: