Skip to content
This repository has been archived by the owner on Mar 16, 2019. It is now read-only.

Unable to get the progress callback with Download Manager options in Android #272

Open
sivakumar-cf opened this issue Feb 22, 2017 · 4 comments

Comments

@sivakumar-cf
Copy link

sivakumar-cf commented Feb 22, 2017

I am trying to use download manager options in FetchBlob. But the Progress not works on download manger request.

RNFetchBlob.config({
        notification: true,
        path: 'downloads/media.mp4',
        indicator: true,
        overwrite: true,
        addAndroidDownloads: {
            path: RNFetchBlob.fs.dirs.SDCardDir +'/downloads/media.mp4',
            useDownloadManager: true,
            notification: true,
            overwrite: true,
            description: 'downloading content...',
            mime: 'video/mp4',
            mediaScannable: false
        }
})
 .fetch('GET', url)
 .progress(received, total) {
    console.log('progress', received / total)
}
@haroonob
Copy link

any update?

@AndrewMarkley
Copy link

I'm having the same issue.

@raminious
Copy link

Same issue. any fix ?

@BeckZero
Copy link

+1 :(

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.