Cristiano Coelho

Results 298 comments of Cristiano Coelho

Waiting for the maintainer to fix it I guess.

`inlineRequires: true` works fine for me. I'm using RN 0.66.3 and clipboard 1.9.0 ``` module.exports = { transformer: { getTransformOptions: async () => ({ transform: { experimentalImportSupport: false, inlineRequires: true,...

I'm seeing a similar issue with 7.1.3. When the app goes to background and remains inactive for a while, the callback for `addEventListener` fires for no connectivity, but after the...

@crosswin-ecgroup can you test if https://github.com/react-native-netinfo/react-native-netinfo/pull/547 fixes the issue?

Could it be the delay that there is when the native code performs a head request to Google (or what you configured) and your fetch call? Not sure if possible...

See the configure method in the docs, there a are a bunch of options you can test .

Got some code to show? Including where exactly you’re calling the code.

@rassemdev I've just confirmed your issue on iOS. The first call to the listener set with `NetInfo.addEventListener` returns `isInternetReachable = null`. However, a second callback is fired right after (~100ms...

@UnySonic maybe https://github.com/react-native-netinfo/react-native-netinfo/pull/547 (7.1.4) fixes this? How are you doing background network requests? If you are not starting an Android foreground service, then your app will go to sleep, and...

@UnySonic unless you are using a foreground service or something like react-native-background-fetch (or anything that uses tasks or the alarm manager), even if doze lets you do network requests, your...