get file from path react native code example
Example: content uri react native fs
const destPath = `${RNFS.TemporaryDirectoryPath}/${shortid.generate()}`;
await RNFS.copyFile(selectedDocument.uri, destPath);
console.log(await RNFS.stat(destPath);
const destPath = `${RNFS.TemporaryDirectoryPath}/${shortid.generate()}`;
await RNFS.copyFile(selectedDocument.uri, destPath);
console.log(await RNFS.stat(destPath);