react-native-fetch-blob icon indicating copy to clipboard operation
react-native-fetch-blob copied to clipboard

open failed: ENOENT (No such file or directory) ?

Open ghost opened this issue 7 years ago • 1 comments

I want to encode my image to base64 but I get this error , below is the code :

RNFetchBlob.fs.readFile('./image/myimage.png', 'base64') .then((data) => { console.log(data) }) .catch((e)=>{console.log(e)})

ghost avatar Feb 06 '18 15:02 ghost

https://github.com/joltup/react-native-fetch-blob/issues/59

rochapablo avatar Jun 01 '18 17:06 rochapablo