itinance / itinance/react-native-fs

When accessing URL with no content (404), the promise won't resolve

Open
#183 6 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
5k
Forks
1k
PR merge metrics
No merged PRs in 30d

Description

I have a small API service that servers files to my app.
When the API is up, I can see that the downloadFile() promise resolves.
When the API is down, the downloadFile() promise then() method is not triggered, nor the reject method. I don't have a way to catch that 404.
Is there something I am doing wrong?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.