joltup / rn-fetch-blob

A project committed to making file access and data transfer easier, efficient for React Native developers.
MIT License
2.81k stars 771 forks source link

Android 9 readFile app crash #735

Open codal-mpawar opened 3 years ago

codal-mpawar commented 3 years ago

here is my implementation. I am uploading video large size of video upto 60 mb or more I tried with readStream but this is not fix. return RNFetchBlob.fs .readFile(filePath, 'utf8') .then((data) => { res(new Buffer(data, 'utf8')); }) .catch((error) => { rej(error); });