react-native-fetch-polyfill
react-native-fetch-polyfill copied to clipboard
Exposes options to React Native's XMLHttpRequest that are not accessible by `whatwg-fetch`
I created a [minimum example for react-native-fetch-polyfill](https://github.com/vijayst/fetch-demo). I set a timeout of 5 seconds. The timeout worked in iOS simulator but not working in Android emulator. In Android emulator, fetch...
For example, if I set a timeout of 2000, the network call does not error out and `xhr.ontimeout` is never called. When I log the values of `init` i can...
I am using this one. Seems good work to increase request timeout. 👍 When I am using React Native fetch, my response like this: ``` { type: 'default', status: 200,...
Can you provide a mock implementation of this module for jest testing?
return fetch(CommonStyle.BaseUrl + 'history/' + userID, { headers: { 'quidtoken': userID, } },{timeout: 10})