I have a React Native application and I\'m seeking to add functionality that checks if there is an active internet connection when the app first starts up, and continuously ther
For it react-native provide a library called netinfo: please check on: https://github.com/react-native-community/react-native-netinfo
It provides an api to check the connectivity and its type.
NB: if you are using RN < 0.60: https://facebook.github.io/react-native/docs/netinfo.html