Block Store and credential restore
Google Play services can hold a small token that follows a person to a new phone or a reinstall.
In one line
Can keep a small sign in token that follows you to a new Android phone
Google Play services can hold a small token that follows a person to a new phone or a reinstall.
Lets an app restore sign-in without a password. The data is end to end encrypted when a screen lock is set and can survive a reinstall; iOS has no direct equivalent apart from iCloud Keychain.
What it can and can't do
What the user does: You set up a new phone or reinstall the app and approve the restore
It can
- Store a few small items through Google Play services
- Restore them when you set up a new phone
- Let you stay signed in after a reinstall
It cannot
- Store large files; only small pieces of data fit
- Work on iPhone, which has no Block Store
- Restore without your device setup prompt
How it differs between platforms: Block Store is Android only. On iPhone the closest tools are iCloud Keychain and Keychain persistence.
On Android and iPhone
| Android | iPhone | |
|---|---|---|
| Status | Supported | Not supported |
| First version | Android 6.0 (API 23) | Not available |
| Permission or entitlement | None (Play services) | Not listed |
| Protection level | none | none |
| How access is granted | none | not-exposed |
| What the user sees | Restore prompt on new device setup | None |
| How long it lasts | Stored by Play services; survives reinstall when end to end backup is on | n/a |
| How to take it back | Clear via Play services or device wipe | Not listed |
| Store policy | None listed | None listed |
| API | Google Play services Block Store API (BlockstoreClient) | Not listed |
| Notes | Small byte arrays only; limit about 16 entries of about 4 KB each (unverified) | Closest iOS analogs are iCloud Keychain and Keychain persistence |
Data you get
What comes back: Restore token
Shape: binary
How often: On demand
| Field | Type | Unit | Range | Precision |
|---|---|---|---|---|
max_bytes_per_item | integer | binary | about 4096 (unverified) | approx |
Technical limits
- Needs Play services
- Needs end to end encryption for cross device
The story
What it is
A tiny token Google keeps that follows you to a new phone so an app can sign you in.
For you
You move to a new phone and the app is already signed in. You did nothing. It feels like magic, and it needs a screen lock.
For makers
Makers keep users signed in across a phone change and avoid the cost of a new login. It can also keep an identity alive across reinstalls.
Where you see it
| Type | Example | Apps |
|---|---|---|
| banking | A bank app restores your device link so you only confirm with a fingerprint. | None named |
| games | A game keeps your account on a new phone with no login. | None named |
| media | A streaming app signs you in after you restore. | Netflix |
| shopping | A store app keeps you signed in after switching phones. | None named |
| analytics | A team sees one person move devices without losing the thread. | None named |
| ads | A marketer keeps a stable ID across reinstalls. | None named |
| security | A fraud tool links an old device to the new one to spot account takeover. | None named |
Risks
- Persistent identity across installs
- Hard to see or clear
Android and iPhone in short
- Android: Holds small byte arrays. Restore happens during new phone setup.
- iPhone: iOS has no direct match. iCloud Keychain and the keychain come closest.
What the platform says
- Google: Block Store. Google pitches Block Store as a way to restore sign in on a new device without extra steps.
Good uses and abuse
Legitimate uses
- Silent sign in after restore
Known abuse
- Persistent identity across installs
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 | 1 of 5 | How much the user has to do |
| Fingerprint bits | 5 | Rough identifying entropy, when known |
History
- 2022-05, Android Play services: Block Store API launched
Related capabilities
Related
- Android Auto Backup and restore. Can save up to 25 MB of app data to your Google account daily
- Keychain across uninstall. Can keep small secrets on your iPhone that survive after you delete the app
Same idea on the web
- Persistent storage (persist). Can ask the browser not to delete its saved data when disk space is low
Sources
How well checked: Inferred from related behavior.