Skip to content
This repository has been archived by the owner on Mar 16, 2019. It is now read-only.

Android App crashes with DownloadManager when Endpoint returns 403 #296

Closed
manuelkch opened this issue Mar 24, 2017 · 1 comment
Closed

Comments

@manuelkch
Copy link

Are there any option to catch 403's from fetch with Android Download Manager?
The problem is that at the moment of the fetch call i'm not pretty sure if my endpoint responses with a valid 200. Do i have to check the endpoint manually before trying to download my binary with the DownloadManager?

wkh237 added a commit that referenced this issue Mar 27, 2017
@wkh237
Copy link
Owner

wkh237 commented Mar 28, 2017

@manuelkch , I've added error handling to Android DownloadManager, could you please verify it?

To update the package from branch issue-296

$ npm install --save git://github.com/wkh237/react-native-fetch-blob.git#issue-296

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants