joltup / rn-fetch-blob

A project committed to making file access and data transfer easier, efficient for React Native developers.
MIT License
2.81k stars 772 forks source link

CRC check failed for file (iOS) #714

Closed CDBridger closed 3 years ago

CDBridger commented 3 years ago

When trying to download a zip file I get the error' crc check failed for file', although on my computer I can successfully download and unzip the file. The only time it works is when I run the code on an IOS simulator

rn-fetch-blob: 0.12.0 react-native 0.63.3 iOS : 12.5.1 (iPad Air)

RNFetchBlob.config({
    fileCache:true,
    path: LOCAL_PATH
}).fetch('GET', FILE_URI).then((res) => {
    //stuff here
}).catch(err => {
    console.log(err) //<-- Getting 'crc check failed for file' here
})

Help would be much appreciated, cheers

EDIT: Had a bit of a moment, ignore this issue