You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When user grants limited permissions to the gallery, when it only gives access to some photos, when the image picker opens just need to show images that it granted permissions before.
Actual behaviour
What actually happens is that users provides access to specifics images or videos but when the gallery opens it just shows all images of the device, and not just the specified images that user granted permissions. Also this feature works as expected in iOS but on android it seems to be missing.
Steps to reproduce
In Android 14, request the required permissions to access user media.
User selects the option to select which images are allowed for the app to use.
It shows a gallery to allow the user to pick up which images are allowed for the app to use.
The gallery opens and shows all images not taking into account what user selected previously.
Attachments
I only can try it with emulators because I don't have physical Android with 14 Api available right now. As I mentioned before, it works well on IOS devices but not on Android 14, also It happens with react-native-image-picker library. Not know exactly what could be missing with Android but I found this documentation in Android developers official page. https://developer.android.com/about/versions/14/changes/partial-photo-video-access?hl=en-419
The text was updated successfully, but these errors were encountered:
Mathitarazonad
changed the title
[Android 14] - Limited permissions to gallery not working on Android 14+
[Android 14] - Limited permissions for gallery not working on Android 14+
May 21, 2024
Additional behaviour observed,
Scenario - if a video is recorded from the application, and the limited access is not given to the video .
Behaviour - The video can be seen playing in the app, ideal to the limited access permission behaviour, this video must not be accessible.
Version
Platform
Expected behaviour
When user grants limited permissions to the gallery, when it only gives access to some photos, when the image picker opens just need to show images that it granted permissions before.
Actual behaviour
What actually happens is that users provides access to specifics images or videos but when the gallery opens it just shows all images of the device, and not just the specified images that user granted permissions. Also this feature works as expected in iOS but on android it seems to be missing.
Steps to reproduce
In Android 14, request the required permissions to access user media.
User selects the option to select which images are allowed for the app to use.
It shows a gallery to allow the user to pick up which images are allowed for the app to use.
The gallery opens and shows all images not taking into account what user selected previously.
Attachments
I only can try it with emulators because I don't have physical Android with 14 Api available right now. As I mentioned before, it works well on IOS devices but not on Android 14, also It happens with react-native-image-picker library. Not know exactly what could be missing with Android but I found this documentation in Android developers official page. https://developer.android.com/about/versions/14/changes/partial-photo-video-access?hl=en-419
Love react-native-image-crop-picker? Please consider supporting our collective:
👉 https://opencollective.com/react-native-image-crop-picker/donate
The text was updated successfully, but these errors were encountered: