Phone state and numbers
Lets the app see call state, the SIM and the phone's number.
In one line
Can see call state, SIM and carrier info on Android; iPhone shows no number
Lets the app see call state, the SIM and the phone's number.
Reveals carrier, SIM info and in some cases the user's number. Android restricts device IDs such as IMEI to privileged apps since Android 10.
What it can and can't do
What the user does: You tap Allow on the Phone permission prompt
It can
- Tell whether a call is active
- See carrier and SIM information
- See your number on Android with the phone numbers permission
It cannot
- See the IMEI or serial number on Android 10 and later
- See your number or IMEI on iPhone
- Get real carrier names on iPhone 16.4 and later; it shows placeholders
How it differs between platforms: Android gives call state and SIM details after a prompt; iPhone never exposes the number or IMEI.
On Android and iPhone
| Android | iPhone | |
|---|---|---|
| Status | Supported | Partial |
| First version | Android 6.0 (API 23) | iOS 16.4 |
| Permission or entitlement | READ_PHONE_STATE, READ_PHONE_NUMBERS (API 26) | none (CTCarrier deprecated) |
| Protection level | dangerous | none |
| How access is granted | prompt | none |
| What the user sees | Allow or Don't allow | none |
| How long it lasts | Until revoked or auto-reset | n/a |
| How to take it back | Settings > Apps > Permissions > Phone | n/a |
| Store policy | Play: identifiers policy bans persistent IDs from this API for ads | App Review 5.1.1 |
| API | TelephonyManager, TelephonyCallback (API 31 needs READ_PHONE_STATE) | CTCarrier (deprecated iOS 16), CTTelephonyNetworkInfo |
| Notes | Android 10 (API 29) removed non-resettable identifiers (IMEI, serial) for non-privileged apps. | iOS never exposes phone number or IMEI; CTCarrier returns placeholder values since iOS 16.4. |
Data you get
What comes back: Phone state, carrier, number
Shape: object
How often: event and on demand
| Field | Type | Unit | Range | Precision |
|---|---|---|---|---|
number | string | E.164 | up to 15 digits | exact |
Technical limits
- No IMEI for ordinary apps on either OS
- Phone number still exposed on some Android versions with READ_PHONE_NUMBERS
- Cannot read the number on iOS
The story
What it is
Lets the app see whether you are on a call, plus details about the SIM and the phone's number.
For you
A prompt asks for phone access. If you allow it, the app can tell whether you are on a call and may see your carrier or SIM. The app can pause itself when you get a call.
For makers
Apps like music and games pause during calls. Others use the carrier info to pick a language or a network setting. Older apps abused it to grab device IDs, so it has been trimmed.
Where you see it
| Type | Example | Apps |
|---|---|---|
| music | A music app pauses when a call comes in and resumes after. | Spotify |
| games | A game pauses a match when you get a call. | None named |
| video | A video call app lowers quality when a cellular call starts. | None named |
| fitness | A run tracker pauses when you take a call. | None named |
| analytics | An analytics SDK reads the carrier to report network type. | None named |
| security | A fraud tool reads SIM changes to spot a swapped SIM. | None named |
| enterprise | A call center app knows when the agent is on a call. | None named |
Risks
- Carrier and SIM details
- Old device ID tricks
- Reveals when you are busy
Android and iPhone in short
- Android: Android 10 removed non resettable IDs like IMEI and serial for apps without privilege.
- iPhone: iPhone never exposes the number or IMEI. The carrier API has returned placeholder values since iOS 16.4.
Good uses and abuse
Legitimate uses
- Call handling
- Carrier-aware apps
Known abuse
- Persistent device fingerprinting
Scores
| Score | Value | Meaning |
|---|---|---|
| Sensitivity | 4 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 | 8 | Rough identifying entropy, when known |
A real example: LinkedIn
Phone Number is on the Apple label (Linked To You, optional on Play). Members enter it for two-step verification and CLEAR identity checks. Android phone state permission was seen in an older build.
History
- 2017-08, Android 8.0 (API 26): READ_PHONE_NUMBERS split from READ_PHONE_STATE
- 2019-09, Android 10 (API 29): IMEI, serial and other hardware IDs require privileged permission
- 2019-09, Android 10 (API 29): Non-resettable device IDs blocked for normal apps
- 2021-10, Android 12 (API 31): TelephonyCallback requires READ_PHONE_STATE
- 2023-03, iPhone iOS 16.4: CTCarrier deprecated; returns static placeholder values
Related capabilities
Related
- Call log. Can see your call history on Android, only for apps Google approves
- IMEI, MEID and serial number. Can't see the phone's IMEI, MEID or serial number as a normal app
Same idea on the web
- Your phone number. Can't see your own phone number from a web page
- Serial number, IMEI and device ID. Can't see your serial number, IMEI, or advertising ID from a web page
Sources
- Android 10: Non-resettable identifiers
- Android: Manifest.permission reference
- Apple: CTCarrier
- Android: READ_PHONE_NUMBERS
- App Store listing and App Privacy label, LinkedIn (id288429040)
- Google Play Data safety, LinkedIn (com.linkedin.android)
How well checked: Based on official documentation.