ammarahm-ed/react-native-scoped-storage

Create file using file data

Closed this issue · 1 comments

Hi,

How can i save the file in the external storage folder from URL?

createFile(data.uri,filename,mimetype).

Thank you.

First write the file to app cache folder with RNFetchBlob then use the copyFile function to move it to the folder you need.