I'm using react-native-camera
and I'm having trouble getting the image as binary data in react-native
. I need this to be able to upload images to our backend. The only thing I manage to get is uri's to the image and then maybe sending that as FormData
to the server but that is not recommended as that would require some infrastructure change to our backend.
Is there anyone that know a solution or some tips regarding this issue?
Any thoughts or help is very much appreciated.