react-native-fetch-polyfill icon indicating copy to clipboard operation
react-native-fetch-polyfill copied to clipboard

Not working in android emulator

Open vijayst opened this issue 8 years ago • 11 comments

I created a minimum example for react-native-fetch-polyfill. I set a timeout of 5 seconds. The timeout worked in iOS simulator but not working in Android emulator. In Android emulator, fetch times out only after 60 seconds.

vijayst avatar May 23 '17 10:05 vijayst

Looks like it is a problem with react-native android. Opened an issue in react-native repo: https://github.com/facebook/react-native/issues/14134

vijayst avatar May 23 '17 16:05 vijayst

What about on Android devices (not simulator)? Also broken?

techrah avatar Jun 01 '17 17:06 techrah

@ryanhomer It is working fine on Android devices.

vijayst avatar Jun 02 '17 02:06 vijayst

not working on android device over adb. tried with chrome debugger on and off.

pstanton avatar Feb 05 '18 05:02 pstanton

@pstanton what version of React Native are you running, and what device are you using that reproduced this problem?

atticoos avatar Feb 08 '18 04:02 atticoos

https://github.com/robinpowered/react-native-fetch-polyfill/issues/7#issuecomment-364006398

pstanton avatar Feb 08 '18 05:02 pstanton

Wow, the issue was created quite some time ago, but still not fixed! Any update?

terreb avatar Jul 11 '18 09:07 terreb

Still doesn't work on Android Simulator. +1

joeythelantern avatar Aug 03 '18 21:08 joeythelantern

Wow, the issue was created quite some time ago, but still not fixed! Any update?

@terreb + @joeythelantern Appreciate the attentiveness. This is one of our "Help Wanted" tagged issues, and we'd be happy to review any pull requests you'd like to submit for this one.

zachdunn avatar Aug 06 '18 13:08 zachdunn

I just ran into this problem. I'm hoping this isn't broken on device, but can't confirm that behavior until tomorrow.

ktownsend-cbre avatar Sep 19 '18 15:09 ktownsend-cbre

As per my comment on another issue in this repo, this makes sense. The discrepancy between the Android and iOS implementations is probably the culprit.

TuurDutoit avatar Aug 06 '19 15:08 TuurDutoit