Open nikesh8 opened 3 years ago
Progress event not getting for Andriod applications. Please refer following code snippet which I have used in my project.
RNFetchBlob.config({fileCache: true, addAndroidDownloads: { useDownloadManager: true, notification: false, path: filePath, description: 'AUDIO FILE', }}) .fetch('GET', URL, {}) .progress((received, total) => { console.log('Progress'); }) .then((res)=> {});
Project contains:
"react": "16.11.0", "react-native": "0.62.2", "rn-fetch-blob": "0.12.0",
For iOS, it works fine and properly but while I am trying with iOS it won't work as expected and If I am removing addAndroidDownloads this object and just add path and fileCache in config app will getting crashed.
addAndroidDownloads
path
fileCache
Yes, happening with me too.
same issue
Progress event not getting for Andriod applications. Please refer following code snippet which I have used in my project.
Project contains:
For iOS, it works fine and properly but while I am trying with iOS it won't work as expected and If I am removing
addAndroidDownloads
this object and just addpath
andfileCache
in config app will getting crashed.