jeanpan / react-native-camera-roll-picker

📷 A React Native component providing images selection from camera roll
https://www.npmjs.com/package/react-native-camera-roll-picker
MIT License
422 stars 176 forks source link

Absolute Path not found #115

Closed Mussabaheen closed 2 years ago

Mussabaheen commented 3 years ago

How to get local path on ios, as we are supplying image to gl-react and the URI with "ph" doesn't work

Thanks

jayala commented 3 years ago

This could be a solution:

ext = 'jpg'
const appleId = uri.substring(5, 41)
uri = `assets-library://asset/asset.${ext}?id=${appleId}&ext=${ext}`