react-native-documents / document-picker

Document Picker for React Native
https://react-native-documents.github.io/
MIT License
1.33k stars 434 forks source link

Is it necessary to grant new Android 13 - Granular media permissions to use react-native-document-picker #679

Closed Yandamuri closed 10 months ago

Yandamuri commented 10 months ago

Question

I have been using react-native-document-picker almost for two years and never granted any permission to use it. I am able to pick documents, Images or Audio files from Downloads, Documents, and other app's folders like WhatsappDocuments, whatsappImages, audio files recorded by other apps.

But recently in Android 13 following permissions have been introduced,

Images and photos: READ_MEDIA_IMAGES
Videos: READ_MEDIA_VIDEO
Audio files: READ_MEDIA_AUDIO

Can some clear me that Do i need to grant Android 13 - Granular media permissions or Can I continue as usual without any permissions?

Thank You.

vonovak commented 10 months ago

One place is enough: https://github.com/rnmods/react-native-document-picker/discussions/678