DeviceCheck two bits
Apple stores two bits per device per developer on its servers.
In one line
Can store two yes or no flags about your device on Apple's servers
Apple stores two bits per device per developer on its servers.
Lets a developer mark a device (for example, trial used) with 2 bits that persist across reinstall and device wipe; no other data.
What it can and can't do
What the user does: Nothing. It happens when the app's server asks Apple about your device
It can
- Set or look up 2 bits on Apple's servers for this device and this developer
- Remember a device was flagged (for example, a used free trial) even after you reinstall
- Learn the month the bits were last changed
It cannot
- Store anything beyond 2 bits and a date
- Share the bits with other developers
- See your Apple ID, name or any personal detail
- Work on Android; there is no equivalent
How it differs between platforms: Only iPhone has DeviceCheck. Android gives integrity verdicts but no storage.
On Android and iPhone
| Android | iPhone | |
|---|---|---|
| Status | Not supported | Supported |
| First version | Not available | iOS 11.0 |
| Permission or entitlement | none | none |
| Protection level | not-exposed | none |
| How access is granted | not-exposed | none |
| What the user sees | Not listed | Not listed |
| How long it lasts | Not listed | Cannot be cleared by the user |
| How to take it back | Not listed | App Review: fraud prevention use |
| Store policy | None listed | None listed |
| API | No equivalent | 2 bits plus last update month; per developer account; server to server with an Apple key |
| Notes | Play Integrity gives verdicts, not storage | Survives reinstall |
Data you get
What comes back: 2 bits
Shape: binary
How often: On server call
| Field | Type | Unit | Range | Precision |
|---|---|---|---|---|
bit0 | boolean | None | true, false | 1 bit |
bit1 | boolean | None | true, false | 1 bit |
Technical limits
- Server only
- 2 bits max
The story
What it is
Apple lets an app store two private yes or no flags about your phone on its servers.
For you
You never see it. It can mean that if you used a free trial once, the app may still know after you delete it and reinstall. You cannot clear it yourself.
For makers
Makers use these two bits to stop people from claiming a free trial again and again, or to mark a phone that abused a promo. It survives reinstall and even a wipe of the device, which is why it works so well for abuse control.
Where you see it
| Type | Example | Apps |
|---|---|---|
| media | A music streaming app marks your phone when you finish a free trial so a new email cannot get another one. | Spotify |
| games | A mobile game flags a phone that abused a gift code so the same phone cannot claim it again on a new account. | None named |
| dating | A dating app remembers that a phone was banned for harassment, so a fresh profile does not slip through. | None named |
| shopping | A store limits a welcome coupon to one claim per phone even after an app reinstall. | None named |
| ads | An ad network flags a device that produced fake installs, then discounts its traffic. | None named |
| security | A bank app marks a phone used in a known scam so later sign ins from it get extra checks. | None named |
Risks
- Mark survives reinstall
- Hard to clear or see
Android and iPhone in short
- Android: Android has no exact twin. Developers use Play Integrity and server side checks instead.
- iPhone: This is Apple only. Each developer gets its own two bits per device, so it cannot link different developers.
What the platform says
- Apple: DeviceCheck. Apple offers two bits per device so developers can remember simple things like a used free trial.
Good uses and abuse
Legitimate uses
- Trial abuse prevention
Known abuse
- Persistent mark
Scores
| Score | Value | Meaning |
|---|---|---|
| Sensitivity | 2 of 5 | How revealing the data is |
| Utility | 3 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 |
History
- 2017-09, iPhone iOS 11: DeviceCheck introduced
Related capabilities
Related
- App Attest. Can prove its requests come from the real app on a real iPhone
Sources
How well checked: Based on official documentation.