Early access · launching soon. Request access

Early access

Early access · launching soon
Product
IntelligenceEarly access. Designed and in development. No results yet. See what's left on the roadmap.
Developers
Resources
Request access

A person reads every request.

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, two tokens

One installation of the Lingora app

  1. Day 0

    token A created

  2. Day 41

    app restored on a new phone → token B

  3. Day 41–75

    token A returns UNREGISTERED

  4. 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, or INVALID_ARGUMENT about 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.

Kotlin

Kotlin

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 UNREGISTERED answer 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 Sample data. Illustrative numbers, not from a real app.

Subscriber lookup for one installation that can receive, and a second record marked uninstalled after FCM returned UNREGISTERED.

Android, iOS and Flutter SDKs

Sources Firebase documentation, "Best practices for FCM registration token management" (read Oct 16, 2026).

Oricato Dispatch

Practical push engineering, once a month.

Token handling, delivery errors, platform changes. Written by people who run a delivery pipeline.

Once a month. Until sign-up opens, one short email from you to us is all it takes; a person adds you. Privacy Policy

Request access