Device name set by the person
Reads the name a person gave the phone, such as a first name plus a model.
In one line
Can see the name you gave your phone on Android, but a generic one on iPhone
Reads the name a person gave the phone, such as a first name plus a model.
Often contains a real name, a strong identifier. iOS 16 hides it behind an Apple approved entitlement.
What it can and can't do
What the user does: Nothing on Android. On iPhone Apple must approve a form first
It can
- See your phone name set in Android settings, often a first name plus a model
- See the Bluetooth name on Android 12 and newer, with the Nearby devices permission
- Use the iPhone name only if Apple approves a special entitlement
It cannot
- See your custom name on iPhone 16 and newer by default; apps get a generic model name
- Get the iPhone name without Apple review and a screenshot form
- See the Android Bluetooth name without the Nearby devices permission
How it differs between platforms: Android allows it with no permission. iPhone hides it by default and gives it out only after Apple approval.
On Android and iPhone
| Android | iPhone | |
|---|---|---|
| Status | Supported | Behind a flag |
| First version | Android 7.1 (API 25) | iOS 16 |
| Permission or entitlement | None; Settings.Global.DEVICE_NAME readable by apps | com.apple.developer.device-information.user-assigned-device-name |
| Protection level | none | entitlement |
| How access is granted | none | entitlement |
| What the user sees | None | None; Apple form with UI screenshots |
| How long it lasts | Persistent | Tied to provisioning |
| How to take it back | Settings > About phone > Device name | n/a |
| Store policy | None listed | Apple: name must power multi device feature visible to users; no tracking, no sharing with third parties |
| API | Settings.Global.DEVICE_NAME, BluetoothAdapter.getName needs BLUETOOTH_CONNECT | UIDevice.name |
| Notes | Readable without a permission | iOS 16 returns the generic model name by default |
Data you get
What comes back: Device name
Shape: string
How often: once
| Field | Type | Unit | Range | Precision |
|---|---|---|---|---|
name | string | text | up to about 60 characters | Not listed |
Technical limits
- Apple screens for tracking and fingerprinting
- Android Bluetooth name needs BLUETOOTH_CONNECT
The story
What it is
The name you gave your phone, like a first name plus a model.
For you
If your phone is called Sam's phone, an app that can read it learns a real name. On iPhone since iOS 16 apps get a generic name unless Apple approved a special reason.
For makers
A real name is a strong ID. Makers may use it to show your devices by name or to pair gear. Ad and data firms could use it to link a phone to a real person.
Where you see it
| Type | Example | Apps |
|---|---|---|
| social | A chat app shows 'Sam's phone' in its list of signed in devices so you can spot a stranger. | None named |
| smart-home | A speaker app pairs with phones by name so you pick the right one. | None named |
| games | A local multiplayer game shows each player's device name in the lobby. | None named |
| enterprise | A company device manager lists phones by the name each person chose. | None named |
| ads | A data firm reads the name to guess who owns the phone. | None named |
| utilities | A file sharing app lists nearby phones by name. | None named |
Risks
- Leaks your real name
- Strong identifier
Android and iPhone in short
- Android: Readable through global settings by many apps, though newer versions limit it.
- iPhone: Locked down since iOS 16 and needs an Apple approved entitlement.
What the platform says
- Apple: User assigned device name entitlement. Developer rule: apps need Apple approval to read the name a person gave their device.
Good uses and abuse
Legitimate uses
- Multi device syncing UIs
Known abuse
- Fingerprinting by name
Scores
| Score | Value | Meaning |
|---|---|---|
| Sensitivity | 4 of 5 | How revealing the data is |
| Utility | 2 of 5 | How useful it is to honest apps |
| Friction | 3 of 5 | How much the user has to do |
| Fingerprint bits | 12 | Rough identifying entropy, when known |
History
- 2022-09, iPhone iOS 16: UIDevice.name returns generic name unless entitled
Related capabilities
Related
- Extended virtual addressing. Can use a larger memory address range on iPhone, but not on Android
Sources
How well checked: Checked against real behavior.