Network state
Lets the app see whether the device is online and what kind of network.
In one line
Can see if your phone is online and what kind of network it uses
Lets the app see whether the device is online and what kind of network.
Shows online status and network type; slightly useful for fingerprinting. Auto-granted.
What it can and can't do
What the user does: Nothing. It happens when the app loads or the network changes
It can
- Check if the phone is online
- See the network type, metered state and rough speed estimate
- Notice Low Data Mode on iPhone
- React when the network changes
It cannot
- See which Wi-Fi name you are on without location permission
- See what you send or receive
- Turn Wi-Fi on or off
How it differs between platforms: Android needs a normal permission granted at install. iPhone needs none.
On Android and iPhone
| Android | iPhone | |
|---|---|---|
| Status | Supported | Supported |
| First version | Android 1.0 (API 1) | iOS 12 |
| Permission or entitlement | ACCESS_NETWORK_STATE | none |
| Protection level | normal | none |
| How access is granted | install | none |
| What the user sees | None (granted at install) | None |
| How long it lasts | Not revocable | n/a |
| How to take it back | n/a | n/a |
| Store policy | Play: none | none |
| API | ConnectivityManager, NetworkCallback | NWPathMonitor |
| Notes | Provides transport type, metered state and bandwidth estimates. | Reports path status, interface type and Low Data Mode. |
Data you get
What comes back: Connectivity state
Shape: object
How often: on change
| Field | Type | Unit | Range | Precision |
|---|---|---|---|---|
transport | enum | type | Wi-Fi, cellular, ethernet, VPN | exact |
Technical limits
- No prompt on either OS
- No access to nearby networks without location permission
The story
What it is
An app can see whether your phone is online and what kind of network it is on.
For you
You do not see it. You notice an offline banner or an app that retries when the signal returns. Apps get this without asking.
For makers
Makers use it to avoid errors, save data and switch between online and offline mode. It adds a small amount to a device profile, but the value is low.
Where you see it
| Type | Example | Apps |
|---|---|---|
| messaging | A chat app shows 'Connecting' and sends your queued messages the moment you are online. | WhatsApp, Telegram |
| media | A music app switches to offline mode and plays downloaded songs when you lose signal. | Spotify |
| games | A mobile game pauses a match and tries to reconnect when the network drops. | Clash Royale |
| live | A live stream app lowers quality when your network becomes weaker. | Twitch |
| productivity | A notes app saves changes on the phone and syncs when you are back online. | Notion, Evernote |
| analytics | A tracker logs when your connection changes, which hints at your daily path. | None named |
Risks
- Slight fingerprint value
- Reveals home or away
Android and iPhone in short
- Android: Android grants this as a normal permission at install, with no prompt.
- iPhone: iPhone needs no permission for this, and apps can watch changes live.
What the platform says
- Google: Connectivity status. Android lets apps check if you are online and on what kind of network.
- Apple: Network framework. Apple lets apps watch whether a connection is up and what type it is.
Good uses and abuse
Legitimate uses
- Adapting streams
Known abuse
- Fingerprinting
Scores
| Score | Value | Meaning |
|---|---|---|
| Sensitivity | 1 of 5 | How revealing the data is |
| Utility | 4 of 5 | How useful it is to honest apps |
| Friction | 0 of 5 | How much the user has to do |
| Fingerprint bits | 2 | Rough identifying entropy, when known |
A real example: LinkedIn
Exodus lists Cedexis Radar in LinkedIn Android reports (4.1.1012 snippet). Radar is a real-user network measurement SDK used to pick CDNs; purpose in LinkedIn's app is inferred.
History
- 2018-03, Android 8.1 (API 27): SSID reads gated behind location
- 2018-08, Android 9 (API 28): Network request APIs refined; NetworkCallback preferred
- 2019-09, iPhone iOS 13: SSID needs location permission
Related capabilities
Related
- Internet access. Can use the internet, which Android grants at install and iPhone allows by default
- Wi-Fi state. Can see if Wi-Fi is on, and its name only with location access
- Cedexis Radar (network measurement). Can maybe measure how fast your connection is, as found inside LinkedIn Android
Same idea on the web
- Network Information API. Can see roughly how fast your connection is and whether you turned on data saving
- Online and offline state. Can tell if your device thinks it is online, and when that changes
- Network Information (downlink, rtt, effectiveType). Can see roughly how fast and what type your connection is, in Chrome and Edge
Sources
- Android: Monitor connectivity
- Apple: NWPathMonitor
- Android: Reading network state
- Exodus Privacy report, com.linkedin.android 4.1.995 (Oct 2024)
How well checked: Based on official documentation.