-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Support react-native NetInfo #69
Comments
Hi @sergiodxa, |
@morrys does this solution work for you? #417 (comment) |
Hi @huozhi, that is a solution to allow you to configure your own isOnline definition. What I proposed was the native integration of my library and standardize the management of network information between web and react-native. If it is not something you are interested in you can proceed to close the issue |
To kee the core simple, going to close this issue to let community apply swr with more flexibility coustomizations. |
Hello to all,
I noticed that the network status is detected only by navigator.onLine.
I wanted to propose the use of wora/netinfo (documentation). simple library that implements the reactive netinfo interface to use it also on the web, thanks to the work done by Nicolas Gallagher in react-native-web, in which I made changes to manage the SSR and integrate react-native versions.
Let me know if you are interested in its integration.
thanks,
Lorenzo
The text was updated successfully, but these errors were encountered: