Firebase installation ID
A random per-install ID created by the Firebase SDK.
In one line
Can recognize this one install of the app with a random ID, until it is removed
A random per-install ID created by the Firebase SDK.
Fresh per app install; many SDKs use it as a first-party ID and link it to other IDs server-side.
What it can and can't do
What the user does: Nothing. The ID is created the first time the app connects to the internet
It can
- Tell one install of the app apart from another with a 22 character random ID
- Link usage, crashes and messages to that same install over time
- Keep the same ID until you clear the app's data or uninstall it
It cannot
- Follow you to other apps or other phones; the ID belongs to this install only
- Survive an uninstall or Clear data; a new ID is made afterward
- Stay alive forever on Android if the app goes unused; it is deleted after 270 days
On Android and iPhone
| Android | iPhone | |
|---|---|---|
| Status | Supported | Supported |
| First version | Android 1.0 (API 1) | iOS 11.0 |
| Permission or entitlement | INTERNET | none |
| Protection level | normal | none |
| How access is granted | install | none |
| What the user sees | Not listed | Not listed |
| How long it lasts | Until uninstall | Not listed |
| How to take it back | Uninstall app | Not listed |
| Store policy | Play: data safety disclosure | None listed |
| API | FirebaseInstallations.getInstance().getId() | Same SDK on iOS |
| Notes | 22-character ID, valid until app data is cleared or the app is uninstalled; deleted if unused for 270 days | None |
Data you get
What comes back: 22 char ID
Shape: string
How often: Static
| Field | Type | Unit | Range | Precision |
|---|---|---|---|---|
fid | string | None | 22 chars | about 128 bits |
Technical limits
- Per-app, not cross-app
The story
What it is
A random ID made for each app install by Google's Firebase toolkit.
For you
You never see it. It quietly lets the app and Google's tools tell your phone apart from every other install, and it resets if you delete and reinstall the app.
For makers
Makers get a free, always available ID to count users, send push notifications and run tests. It lets crash reports, experiments and notifications line up for one install without asking for any permission.
Where you see it
| Type | Example | Apps |
|---|---|---|
| games | A game studio uses the install ID to give one phone the same A/B test version of the tutorial every time it opens the game. | None named |
| messaging | A chat app uses the ID as the address for push notifications, so a message reaches the right phone. | None named |
| analytics | A product team counts daily active installs and links crash reports to one install without asking you to sign in. | None named |
| ads | An ad network links an install to a later in-app purchase so it can tell which campaign paid off. | None named |
| shopping | A store app shows you the same test version of its checkout page on each visit, so results stay clean. | None named |
| security | A bank sees ten new accounts opened from one install ID and flags a possible fraud ring. | None named |
Risks
- Links activity across sessions
- Can be joined to other IDs on a server
Android and iPhone in short
- Android: Available to any app that includes Firebase, with no prompt.
- iPhone: Works the same way on iPhone, created fresh for each install of the app.
What the platform says
- Google: Firebase installations. Developer pitch: a stable, unique ID for each install of your app, used by Firebase services like messaging and analytics.
Good uses and abuse
Legitimate uses
- Analytics, push
Known abuse
- Link to other IDs
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 | 128 | Rough identifying entropy, when known |
Related capabilities
Related
- Advertising ID (IDFA and AAID). Can use a resettable ad ID, by default on Android and only after Allow on iPhone
Sources
How well checked: Based on official documentation.