Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Network Error #219

Open
jpmazza opened this issue Sep 16, 2020 · 1 comment
Open

Network Error #219

jpmazza opened this issue Sep 16, 2020 · 1 comment

Comments

@jpmazza
Copy link

jpmazza commented Sep 16, 2020

Env:
"react-native": "^0.61.1"

Hey! I'm using this library (v 5.7.0) to upload videos. On iOS it's working great, but on Android, it's not working for devices with API 29. I'm pretty sure that it will work if I upgrade to the latest version (6.2.0) but when I tried this I got a Network Error when I did some other axios request (not related to this library). This is super weird I don't know if there is some kind of conflict with axios.

When I ran adb logcat I noticed isAxiosError: true. In my view, the breaking changes on react-native-background-upload (v6) are breaking axios.

Any thoughts?

@matamicen
Copy link

@jpmazza I fixed a similar error happening with a fetch, is a RN issue with the OkHttp android library with version above 4 which v6.2.0 of react-native-background-upload uses , here is the fix, hope it helps.

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

No branches or pull requests

2 participants