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);
});
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); });