react-native-image-picker / react-native-image-picker

:sunrise_over_mountains: A React Native module that allows you to use native UI to select media from the device library or directly from the camera.
MIT License
8.42k stars 2.07k forks source link

[🌟] Update library for Android according to new Google MEDIA policy #2296

Open vladyslav-honchenko opened 1 month ago

vladyslav-honchenko commented 1 month ago

Description

This functionality is important because if an app doesn't frequently need shared photo access, it can't pass the app review and has to remove the READ_MEDIA_VIDEO or READ_MEDIA_IMAGES permissions, those apps would need this Android Photo Picker.

For a more privacy preserving experience for users, we’re introducing the Photo and Video Permissions policy to reduce the number of apps permitted to request broad photo/video permissions (READ_MEDIA_IMAGES and READ_MEDIA_VIDEO). Apps may only access photos and videos for purposes directly related to app functionality. Apps that have a one-time or infrequent need to access these files are requested to use a system picker, such as the Android photo picker. (effective August 31, 2024)

Reference: https://support.google.com/googleplay/android-developer/answer/13986130#photo-and-video-permissions

hubatruck commented 1 month ago

Similar to https://github.com/react-native-image-picker/react-native-image-picker/issues/2146