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

RNFetchBlob request error: url == nullnull #636

Open chiefchief opened 3 years ago

chiefchief commented 3 years ago

last week i could download any file, but currently get this issue with any link

RNFetchBlob request error: url == nullnull
const documentDir = RNFetchBlob.fs.dirs.DocumentDir
const url = '​​https://file-examples-com.github.io/uploads/2017/02/zip_5MB.zip'

let options = {
    fileCache: true,
    path: documentDir + '/assets.zip',
}

RNFetchBlob.config(options)
    .fetch('GET', url)
    .then(res => {
        console.log(res, 'Result')

    })
nivas412 commented 3 years ago

Any update ??

AhmedRazaTester commented 3 years ago

image same issue

roaringUnicorn commented 3 years ago

Same here, while fetching a document from an object strorage.

GabrielDvt commented 3 years ago

Any sugestions?

roaringUnicorn commented 3 years ago

In my case, it was simply an error in arguments, as i forgot to put the method first.

The error message is not helping, but it was RTFM.

babyrusa commented 2 years ago

Facing the same issue

nguyenvanphuc2203 commented 2 years ago

Facing the same issue on Oppo android phone