- This function I used to save data
async saveFileInDevice(absolutePath, filename) { images.map(data => { RNFetchBlob.config({ fileCache: true, appendExt: 'png', path: absolutePath +
/${filename}.png, }) .fetch('GET', data.url, { //some headers .. }) .then(res => { // the temp file path
enter code here console.log('The file saved to ', res.path()); }); }); }
for Retrieve
RNFS.readDir(RNFetchBlob.fs.dirs.CacheDir +'/'+'FolderName')