React-native-fetch-blob: Unable to get the progress callback with Download Manager options in Android

Created on 22 Feb 2017  路  4Comments  路  Source: wkh237/react-native-fetch-blob

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)
}
android trouble shooting

Most helpful comment

I'm having the same issue.

All 4 comments

any update?

I'm having the same issue.

Same issue. any fix ?

+1 :(

Was this page helpful?
0 / 5 - 0 ratings