Hi, is there any option to choose media from system gallery on ios? For now i pick media the following way:
const result = await DocumentPicker.pick({
type: [DocumentPicker.types.images, DocumentPicker.types.pdf],
});
But next i cant upload any image from my gallery. Is it even possible without any other libraries?
same here
document picker not showing images. i am using react-native 0.59.4
It's not about showing images, i think that it's because of wrong ios component used to browse media.
Same, here. After updating to react-native 0.59.10 it stopped working on iOS but still works on android.
The picker modal is not showing up, neither on V2 nor V3.
Umm I think our problems are not related - for me (the newest version of react-native), library works as well on both platforms: ios and Android. The only problem is that ios opens view which does not allow pick media from gallery.
@Aliath
The same problem persist for me also. Working with RN 0.59.4 but all working fine. The only issue is can't pick up images from the gallery captured from device camera. Have you got any solution? If yes then please reply back.
Not especially. It seems like ios component used in this library is directed to pure documents. User is still able to pick images from iCloud or apple Files though. I think you have two possibilities - the first one is about make wrapper which will use both - react-native-document-picker and react-native-image-picker. Then after pick event you should show dialog with options about media type and use the right library. Another is just change ios component in objective-C and handle it the right way in this library.
https://gist.github.com/Aliath/25dde43cc0e59d3cbaec5b5cbb62100f
I made tiny wrapper for both libraries. You are welcome. 馃槃
gist.github.com/Aliath/25dde43cc0e59d3cbaec5b5cbb62100f_ (too large to embed)_
I made tiny wrapper for both libraries. You are welcome.
This didn't make any difference for me still can't see photos.
Most helpful comment
https://gist.github.com/Aliath/25dde43cc0e59d3cbaec5b5cbb62100f
I made tiny wrapper for both libraries. You are welcome. 馃槃