olofd/react-native-photos-framework

how to read photos:// prefix file

Closed this issue · 2 comments

great library,thank you.

wechatimg13

how to read photos:// prefix file? i hope upload photos to server.

olofd commented

You should be able to just send the resource using react-native's built in ajax-support. So just send the resource using the fetch-api. Read the section AJAX in the readme.

@olofd What if the image, is a GIF image and I want to just just show the GIF with the image tag. How do I map photos:// to actual GIF url?