joltup / rn-fetch-blob

A project committed to making file access and data transfer easier, efficient for React Native developers.
MIT License
2.81k stars 773 forks source link

File is not downloaded to the expected destination #499

Open yasir-netlinks opened 4 years ago

yasir-netlinks commented 4 years ago

I have been trying to find a solution for this and its been a while now this is the directory I am using

let options = {
      fileCache: true,
      addAndroidDownloads: {
        useDownloadManager: true,
        notification: true,
        title: fileName,
        path: fs.dirs.DownloadDir + `${name}`,   // Android platform
        description: 'Downloading the file',
      },
    };

for this path fs.dirs.DownloadDir , I am expecting that the file destination would be Downloads folder but instead it goes to Documents -> Download as shown below

20191203_101219

react-native: 0.61.2 rn-fetch-blob: 0.10.16

yousafiqbal1994 commented 4 years ago

Try using version 0.12.0