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

Bug report: selecting images from the Gallery(IOS) #699

Closed Shahzaib114 closed 3 months ago

Shahzaib114 commented 4 months ago

Summary

The issue arises when attempting to select gallery images using the react-native-document-picker library. Reproducible sample code

TypeScript

const result = await DocumentPicker.pick({ type: [DocumentPicker.types.images], allowMultiSelection: false, });

Steps to reproduce

Open the app.
Navigate to the file picker screen.
Try to select gallery images.
Notice that gallery images cannot be selected.

Expected behavior:

Gallery images should be selectable like other files and images.

Library version: 9.1.0

iOS version: 16.3.1

Android version: 13.0

vonovak commented 4 months ago

Hello and thanks for reporting, can you please record a video? I'm not sure what you mean by "gallery images" Thank you 🙂

cfgvipin6 commented 4 months ago

I am facing same issue, I think there is no option selecting the image from direct phone gallery.

vonovak commented 3 months ago

Hello and thanks for asking, I believe that you want to use image picker https://github.com/react-native-image-picker/react-native-image-picker - not this library.

Thank you 🙂