Open luqiuyuan opened 6 years ago
PhotoView is able to load file from the container by using URI like file:///private/var/mobile/Containers/Data/Application/6EA85B2D-E3C5-41B2-B2E3-99EDCB111AA1/tmp/react-native-image-crop-picker/6EEA54AF-D1E2-86B4-A847-8CA0937F0C23.jpg
However, the Image component in RN is able to load file without the protocol (file://)
I think it might be less confusing if PhotoView can keep consistent with the Image component in RN.
The component is not able to load file from the application container given the file path. Below is my code.
When running the codes above, the following error occurs
I am using react-native-photo-view@1.5.2 and react-native@0.46.4