react-native-image-resizer
react-native-image-resizer copied to clipboard
Throws file not found error. Eventhough the file is present.
The following the path. Is there anything wrong in the path format? "file:///data/user/0/com.anonimio/cache/c327d578-f31d-4ce9-a2e4-8f411c460d9e.jpg"
we're seeing the same error, on android only. Everything works on iOS
Any solutions for this ?
Same here net::ERR_FILE_NOT_FOUND
GET file:///data/user/0/com.managemyrides.dev/cache/1534826310567.JPEG net::ERR_FILE_NOT_FOUND
did any of you figure this out?
how do we actually know the file is there? I'm looking through android file transfer and nothing comes up in the cache folder
I got it working by removing the file:// from the image path in android and then it was working perfectly for me.
This is happening to me - I have react-native-fs as a dependency and I can verify the file exists with RNFS.exists(myPath).then( /* do image resize */ )
Ah got it, in my case i was providing the file name in outputPath. So the file that didn't exist was the filename.jpeg directory.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue has been automatically closed. Thank you for your contributions.