I use react-native-image-crop-picker to take a picture using the camera and when I pass the path of the image to createThumbnail I get this error: "File doesn't exist or not supported".
The response.path looks like this: "/private/var/mobile/Containers/Data/Application/RR62F5C8-26F5-4B9A-8A3F-3D65BE6207FF/tmp/react-native-image-crop-picker/A90DD27F-6E4E-4E70-B678-D595D84A13F9.jpg"
Please can someone tell me where I got this wrong? Thanks.
I use react-native-image-crop-picker to take a picture using the camera and when I pass the path of the image to createThumbnail I get this error: "File doesn't exist or not supported".
Here is my code:
The response.path looks like this: "/private/var/mobile/Containers/Data/Application/RR62F5C8-26F5-4B9A-8A3F-3D65BE6207FF/tmp/react-native-image-crop-picker/A90DD27F-6E4E-4E70-B678-D595D84A13F9.jpg"
Please can someone tell me where I got this wrong? Thanks.