Detecting network status, iOS only
npm install react-native-net-status
$ cd ios
$ pod install
import NetStatus from "react-native-net-status";
// ...
// You can set listener to subscribe state change event
NetStatus.addListener('onStateChange', (data) => setNetworkState(data.state));
See the contributing guide to learn how to contribute to the repository and the development workflow.
MIT