var downloadResumable=FileSystem.createDownloadResumable(curData.urlData,giftDir+curData.code+‘.json’,{}, downloadProgress => {
var progress = downloadProgress.totalBytesWritten / curData.totalBytes;
console.log(‘totalBytesWritten:----’,downloadProgress.totalBytesWritten);
if(customProgressView){
customProgressView.setProcess(progress,true);
}
}
);
callback downloadProgress not work in android,but work normal in ios