mdjfs / expo-image-multiple-picker

Fully customizable image picker for react native
https://npmjs.com/expo-image-multiple-picker
MIT License
21 stars 7 forks source link

Image files are not readable in iOS #21

Open sam-maverick opened 1 month ago

sam-maverick commented 1 month ago

In Android it works fine, but in iOS I found issues when reading the asset Uri of the selected files with readAsStringAsync() of expo-file-system

As a workaround I copy the ph:// URI to the app's private cache folder using copyAsync of expo-file-system. Then I can read the file from there.

Why readAsStringAsync fails and copyAsync works? I don't know