react-native-documents/document-picker

Bug report: selecting images from the Gallery(IOS)

Closed this issue · 3 comments

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

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

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

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 🙂