Skip to content
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

Closed
morrys opened this issue Nov 3, 2019 · 4 comments
Closed

Support react-native NetInfo #69

morrys opened this issue Nov 3, 2019 · 4 comments

Comments

@morrys
Copy link

morrys commented Nov 3, 2019

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

@morrys morrys changed the title support react-native NetInfo Support react-native NetInfo Nov 3, 2019
@pacocoursey pacocoursey added the feature request New feature or request label Nov 4, 2019
@morrys
Copy link
Author

morrys commented Dec 2, 2019

Hi @sergiodxa,
can i know what you don't like? every feedback is important.
thanks

@huozhi
Copy link
Member

huozhi commented Oct 30, 2020

@morrys does this solution work for you? #417 (comment)

@morrys
Copy link
Author

morrys commented Oct 30, 2020

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

@huozhi huozhi removed the feature request New feature or request label Jun 28, 2021
@huozhi
Copy link
Member

huozhi commented Jun 28, 2021

To kee the core simple, going to close this issue to let community apply swr with more flexibility coustomizations.

@huozhi huozhi closed this as completed Jun 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants