Network Reachability - transistorsoft/cordova-background-geolocation-lt GitHub Wiki

iOS uses the Reachability component by tonymillion to detect network-status changes in real time.

iOS Network Reachability Flags

Status Flag
Is WWAN W
Reachable R
Connection required c
Transient connection t
Intervention required i
Connection on-traffic C
Connection on-demand C
Is local address l
Is direct d

Example log messages.

You can observe these messages by changing connection-status on your iOS device (with your app running in background with aggressive-monitoring engaged (ie: changePace(true) or preventSuspend: true)

Toggle Airplane Mode

╔═════════════════════════════════════════════════
β•‘TSLocationManager β–Ί Network: No Connection
╠═════════════════════════════════════════════════
β•Ÿβ”€ Flags: -- -------

Toggle Cellular Data

╔═════════════════════════════════════════════════
β•‘TSLocationManager β–Ί Network: Cellular
╠═════════════════════════════════════════════════
β•Ÿβ”€ Flags: WR -t-----

Toggle WiFi

╔═════════════════════════════════════════════════
β•‘TSLocationManager β–Ί Network: WiFi
╠═════════════════════════════════════════════════
β•Ÿβ”€ Flags: -R -------