Wi-Fi state
Lets the app see Wi-Fi status; the network name needs location permission.
In one line
Can see if Wi-Fi is on, and its name only with location access
Lets the app see Wi-Fi status; the network name needs location permission.
SSID and BSSID can place a person at home or work. Android 8.1 and later hide them without location permission.
What it can and can't do
What the user does: Nothing for on or off. You tap Allow Location for the Wi-Fi name
It can
- Check whether Wi-Fi is connected
- See the network name after Location is allowed (Android 8.1 and newer)
- Use Nearby devices permission for scan results on Android 13 and newer
It cannot
- See the Wi-Fi name on Android without Location
- See the name on iPhone without the Apple entitlement plus Location
- Switch Wi-Fi on or off for you on newer versions
How it differs between platforms: Android 8.1 and newer needs Location for the name. iPhone 13 and newer needs an entitlement plus location.
On Android and iPhone
| Android | iPhone | |
|---|---|---|
| Status | Supported | Partial |
| First version | Android 1.0 (API 1) | iOS 12 |
| Permission or entitlement | ACCESS_WIFI_STATE (plus ACCESS_FINE_LOCATION for SSID, API 27+) | com.apple.developer.networking.wifi-info plus Location |
| Protection level | normal | entitlement |
| How access is granted | install | entitlement |
| What the user sees | None for state; location prompt for SSID | Location prompt |
| How long it lasts | Not revocable (normal) | Until revoked |
| How to take it back | n/a | Settings > Privacy > Location Services |
| Store policy | Play: none | App Review 5.1.1 |
| API | WifiManager.getConnectionInfo | NEHotspotNetwork.fetchCurrent |
| Notes | Android 8.1 (API 27) requires location for SSID; Android 13 allows NEARBY_WIFI_DEVICES for scan results. | SSID needs entitlement and location grant on iOS 13+. |
Data you get
What comes back: Wi-Fi state and SSID
Shape: object
How often: on demand
| Field | Type | Unit | Range | Precision |
|---|---|---|---|---|
ssid | string | chars | 0 to 32 | exact |
Technical limits
- Both OSes gate SSID behind location
- MAC randomization default since Android 10
The story
What it is
An app can see if Wi-Fi is on or off and if you are connected.
For you
You do not see it. An app may say 'turn on Wi-Fi to download'. The network name stays hidden unless you allow location.
For makers
Makers use it to guide you and to choose downloads or sync. It is a low risk signal and adds a little to a profile. The name and ID are the sensitive parts and need location permission.
Where you see it
| Type | Example | Apps |
|---|---|---|
| media | A podcast app waits until Wi-Fi is on before it downloads new episodes. | Pocket Casts |
| games | A game suggests turning on Wi-Fi before a big patch download. | None named |
| smart-home | A smart device app asks you to turn on Wi-Fi before setup. | None named |
| productivity | A backup app only uploads photos when Wi-Fi is connected. | Google Photos |
| analytics | A tracker records Wi-Fi on or off times to learn when you are home. | None named |
| utilities | A battery app tells you that Wi-Fi scanning drains power. | None named |
Risks
- Low risk alone
- Reveals home pattern over time
Android and iPhone in short
- Android: Android apps see Wi-Fi status with a normal permission, and the network name needs location permission.
- iPhone: iPhone apps can see whether the connection is Wi-Fi but not read the setting directly.
What the platform says
- Google: Wi-Fi state. Android lets apps check Wi-Fi status with a normal permission.
Good uses and abuse
Legitimate uses
- Wi-Fi settings
Known abuse
- Location inference via SSIDs
Scores
| Score | Value | Meaning |
|---|---|---|
| Sensitivity | 3 of 5 | How revealing the data is |
| Utility | 3 of 5 | How useful it is to honest apps |
| Friction | 2 of 5 | How much the user has to do |
| Fingerprint bits | 6 | Rough identifying entropy, when known |
History
- 2018-03, Android 8.1 (API 27): SSID access requires location permission
- 2019-09, iPhone iOS 13: SSID access requires location plus entitlement
Related capabilities
Related
- Network state. Can see if your phone is online and what kind of network it uses
- Nearby Wi-Fi devices. Can find and connect to nearby Wi-Fi devices without needing your location
Same idea on the web
- Wi-Fi name, BSSID and signal strength. Can't see your Wi-Fi name, router ID, or signal bars
Sources
How well checked: Based on official documentation.