react-native-background-timer icon indicating copy to clipboard operation
react-native-background-timer copied to clipboard

Using this package breaks my internet connection

Open jakubdrozdek opened this issue 7 years ago • 1 comments

Hello!

I was really excited that a package like this exists, because RN doesn't have support for background timers.

However, once I used it, I noticed something really weird: after linking and importing this package into my project, my internet connection is lost. I cannot make any API calls because of 'Network request failed' errors. image

What's even more weird is that when I run my app with React Native Debugger and enable network inspect, it works. When I disable it or run the app on a real device, I cannot make any HTTP requests. I'm 100% sure everything was okay before installing this package.

I'm using Android.

Any ideas?

jakubdrozdek avatar Mar 27 '18 13:03 jakubdrozdek

fetch then catch((error)=>{console.log(error)}). catch should add to fetch

kaixiniOSTT avatar Sep 20 '18 07:09 kaixiniOSTT