Glossary · Mobile push
FCM token
An FCM token is the address Firebase Cloud Messaging gives one app installation on one device. Your server sends to the token; FCM finds the device. It changes over the app's life and stops working when the app is uninstalled.
Also called registration token, device token, push token
When a token is born, changes and dies
- Created the first time the app starts the Firebase SDK and asks for one.
- Changes when the app is restored on a new device, uninstalled and reinstalled, or has its data cleared. FCM can also rotate it. Your app hears about it in
onNewToken(Android) or the messaging delegate (iOS). - Goes stale when the installation stops connecting. Firebase suggests treating a token as stale after a month without activity.
- Expires on Android after 270 days of inactivity. Sends to it then fail.
- Dies on uninstall. The next send returns
UNREGISTERED.
One installation of the Lingora app
-
Day 0
token A created
-
Day 41
app restored on a new phone → token B
-
Day 41–75
token A returns UNREGISTERED
-
Day 300
token B: no activity for 270 days → expired
Timeline for one installation: token A created on day 0; on day 41 the app is restored on a new phone and gets token B; from day 41 to 75 token A returns UNREGISTERED; on day 300 token B has had no activity for 270 days and expires.
Keep the token list honest
- Send the token to your server on every app start, with a timestamp, not just when it changes. A fresh timestamp is how you know a token is alive.
- Delete or flag a token the moment FCM answers
UNREGISTERED, orINVALID_ARGUMENTabout the token. Retrying it wastes quota and inflates your audience. - Don't use the token as a user ID. One person has many tokens (phone, tablet, a reinstall), and tokens change.
- Never log full tokens in plain text next to personal data. A token plus an email address is a way to reach a specific person.
class AppMessagingService : FirebaseMessagingService() {
override fun onNewToken(token: String) {
// Send it to your server right away; keep the old one until FCM rejects it.
Backend.registerToken(token, seenAt = System.currentTimeMillis())
}
} In Oricato
The Oricato SDK pairs the token with its own subscription ID, a random identifier created on first launch and kept in storage the system never backs up or copies to a new phone. If the app's data shows up on a different device, the SDK notices and starts a fresh subscription, so two phones never share one ID.
- The SDK sends the token, permission state, language and time zone when the app starts, at most once an hour unless something changed.
- An
UNREGISTEREDanswer marks that installation uninstalled. The record stays; nothing is deleted on a timer. - Oricato never cuts a device off for being quiet. It keeps sending until FCM says the token is dead.
- Reports count subscribers who can actually receive a notification, so dead tokens don't pad your numbers.
Subscriber lookup for one installation that can receive, and a second record marked uninstalled after FCM returned UNREGISTERED.
Related terms
- Stale tokena token that hasn't connected in a long time.
- FCMthe service that issues the token.
- MAUwhy "active" counts differ from "can receive".
Sources Firebase documentation, "Best practices for FCM registration token management" (read Oct 16, 2026).