尝试提供要下载的文件的路径,
const directoryFile = RNFS.ExternalStorageDirectoryPath + "/FolderName/";
RNFS.mkdir(directoryFile);
const urlDownload = input.url;
let fileName;
fileName = "filename.zip";
let dirs = directoryFile + fileName;
RNFetchBlob.config({
path: dirs
}).fetch("GET", urlDownload, {
})
.then(res => {
console.log("The file saved to ", res.path());
alert("File Downloaded At Folder");
})
.catch(err => {
console.log("Error: " + err);
});