TODO
npm install react-native-reachability-popup
Reachability Popup it is a React Native module to help you with easily handle and check internet availablility

$ yarn add react-native-reachability-popup
The _Spinner component_ it's build to a global use, so you have to instance this component once in your main app screen always as a last inserted component:
``jsx
import React from "react";
import { View } from "react-native";
import Reachability { isNetworkReachable, isConnected } from "react-native-reachability-popup";
export default class App extends React.Component {
render() {
return (
{/ GLOBAL REACHABILITY COMPONENT INSTANCE /}
{/ <--- here as last component /}
);
}
}
``
| name | description | type | return |
| :----------------- | :-------------------------------- | -------: | :------ |
| isNetworkReachable | check is network reachable | Function | Boolean |
| isConnected | check is connected to wifi/Lte... | Function | Boolean |