alwx / react-native-photo-view

Pinch-to-zoom view for React Native (both iOS and Android)
MIT License
816 stars 434 forks source link

Source is local image ,IOS is not show the image。 #154

Open Mathon21 opened 6 years ago

Mathon21 commented 6 years ago

source like "Library/Developer/CoreSimulator/Devices/B426A3A8-06F0-4A53-ABEC-61DD98377CFC/data/Containers/Data/Application/5B6EA6D2-4F13-41DF-AD36-21344CBCB89E/tmp/react-native-image-crop-picker/EB269CC9-AC3A-493F-8295-C1172487E2A4.jpg"

tngan commented 6 years ago

@madongd Have you resolved this issue ? I am thinking if I need to do it with another way, saying to store images in assets-library.

andr3a88 commented 6 years ago

Try prepending file:// (eg file://${data.croppedImage})

zeux00 commented 6 years ago

@andr3a88 This works for me with react-native 0.55.3