-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
android: OnRequestPermissionsResultCallback #168
Comments
We can make a custom permission check for sure. Will do it. |
Done in 0.18.13 :) |
Ok not done |
I don't think it should be the responsibility of individual libraries to check permissions. If you're adding a library that accesses the camera, that's on you to add to your own Manifest file. |
@marcshilling this isn't handled solely in the Manifest file anymore for APK 23+ it is to be requested and handled at runtime. I think this is becoming increasingly relevant as everyone gets newer phones and you compile for APK 23+ |
Android 6+ (M) permission changes; permissions for the camera and media from the manifest aren't always granted and shouldn't be assumed.
Possible to implement OnRequestPermissionsResultCallback in react-native-image-picker? In the meantime there is a work around: wrapping calls into react-native-image-picker with custom permission checks.
The text was updated successfully, but these errors were encountered: