itinance / react-native-fs

Native filesystem access for react-native
MIT License
4.94k stars 977 forks source link

downloadFile promise does not reject nor resolve on no network connection #239

Open br4nnigan opened 7 years ago

br4nnigan commented 7 years ago

which is pretty bad?

cjdell commented 7 years ago

@br4nnigan Agreed, am in the process of tidying the networking site. Will add a timeout option or network detection of some sort.

br4nnigan commented 7 years ago

found another similar issue:

try url "http://google.com/asd.txt", you'll get a 404 try url "http://google" and you'll get nothing again

br4nnigan commented 7 years ago

adding to this: on ANDROID you get a "no such file" exception on the target local path, for both cases in my previous post.

br4nnigan commented 7 years ago

same for requests that return http status 300 (304 too iirc)

wamry commented 5 years ago

any updates ?

amrlsayed commented 5 years ago

any updates ?