diff --git a/docs/netinfo.html b/docs/netinfo.html index 514f0b5ae49..f0d19e90d1e 100644 --- a/docs/netinfo.html +++ b/docs/netinfo.html @@ -1,4 +1,4 @@ -React Native | A framework for building native apps using React

NetInfo

NetInfo exposes info about online/offline status

reachabilityIOS #

Asyncronously determine if the device is online and on a cellular network.

  • none - device is offline
  • wifi - device is online and connected via wifi, or is the iOS simulator
  • cell - device is connected via Edge, 3G, WiMax, or LTE
  • unknown - error case and the network status is unknown
NetInfo.reachabilityIOS.fetch().done((reach) => { +React Native | A framework for building native apps using React

NetInfo

NetInfo exposes info about online/offline status

reachabilityIOS #

Asynchronously determine if the device is online and on a cellular network.

  • none - device is offline
  • wifi - device is online and connected via wifi, or is the iOS simulator
  • cell - device is connected via Edge, 3G, WiMax, or LTE
  • unknown - error case and the network status is unknown
NetInfo.reachabilityIOS.fetch().done((reach) => { console.log('Initial: ' + reach); }); function handleFirstReachabilityChange(reach) {