Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

content uri react native fs

const destPath = `${RNFS.TemporaryDirectoryPath}/${shortid.generate()}`;
await RNFS.copyFile(selectedDocument.uri, destPath);

console.log(await RNFS.stat(destPath);
Source by github.com #
 
PREVIOUS NEXT
Tagged: #content #uri #react #native #fs
ADD COMMENT
Topic
Name
1+4 =