Open hamzamekk opened 4 years ago
I think u have to set a path to your config-object, where your file would be saved to:
const pathToSave = RNFetchBlob.fs.dirs.DownloadDir; // or any other dir of .dirs
RNFetchBlob.config({
path: pathToSave,
// other options here...
})...
But I wonder if u will have another issue like my one: #567
hello guys i am working with react native project i need to download some files from a server i am using this package and it show me that the download passed but i dont think it download the file from server it give me a link of a file and when i check it it has only 35 kb and can't be opened and if i use download manager it give me this error [Error: Download manager failed to download from 'my url' Code = 16] here is my code
i am using "react": "16.9.0", "react-native": "0.61.5", "rn-fetch-blob": "^0.12.0",