react-native-sqlite-demo
react-native-sqlite-demo copied to clipboard
Replace NetInfo.isConnected with NetInfo.isInternetReachable
NetInfo.isInternetReachable
actually checks if the internet is reachable, which is most important:
If the internet is reachable with the currently active network connection.
https://github.com/react-native-community/react-native-netinfo#netinfostate