Skip to content

File is not downloaded to the expected destination #499

@yasir-netlinks

Description

@yasir-netlinks

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions