Help for owners
My app's notifications arrive late
Short answer
A late notification is often a priority or phone-power issue, not a lost message. Firebase says normal-priority messages to a backgrounded app can be delayed, while high-priority ones are attempted immediately even in Doze. Check how your server marks each message, and which ones truly need to be urgent.
Does this sound like your situation?
- Notifications arrive minutes or hours late.
- They show up as soon as I open the app.
- Urgent alerts come late but promotional ones come on time.
- It happens mostly overnight or when the phone is idle.
- Some users get them on time and others do not.
Why does this happen?
The message is sent at normal priority
Firebase states that normal-priority messages are delivered immediately when the app is in the foreground, but delivery may be delayed for backgrounded apps. High priority is meant for time-sensitive, user-visible content.
Confirmed by firebase.google.com
The phone is in Doze
Firebase says it attempts to deliver high priority messages immediately even if the device is in Doze mode. Doze is the Android state that suspends a phone's network access while it sits idle.
Confirmed by firebase.google.com
The wrong message type is used
Android's guidance says to use the notification message type for time-sensitive, user-visible alerts, and that background-sync messages are intentionally low priority and may be delayed or throttled to save battery.
Confirmed by developer.android.com
iPhones follow their own rules
For Apple devices, Firebase documents that data messages must use normal priority, and a high priority is refused with an error. Alerts for iPhone users therefore need their own check.
Confirmed by firebase.google.com
What can I do about it today?
- Send a test alertSend one to your own phone with the screen off for a while. Note the delay.
- Compare phonesAn iPhone and an Android phone, and two different brands. Differences point to the cause.
- Check the phone's notification settingsMake sure notifications for your app are allowed and the app has not been put to sleep.
- Ask which alerts are urgentOrders and security alerts need speed, promotions do not. Your developer sets priority by this list.
- Do not send many alerts at once to compensateRepeated sends annoy users and do not solve delay.
When should I bring someone in?
- Late alerts cost you orders or trust.
- Alerts are missing, not only late.
- You moved to a new server or Firebase project recently.
How do I handle it?
- Trace one alertI send test alerts and follow them from your server to the phone to see where time is lost.
- Set priority by importanceI mark urgent alerts correctly and leave the rest at normal.
- Check the message typeI make sure alerts that must be shown use the right type for each platform.
- Test on idle phonesI test with the screen off for a while, on Android and iPhone.
The price depends on what I find, so I quote in writing after a short discovery call. Tell me what is happening and I reply within 24 hours.
What do owners ask about this?
Is the notification lost or just late?
Both can happen. A delayed message arrives later, while a message that never arrives needs a different check, such as the page on notifications not working.
Can I make all notifications high priority?
Not as a general fix. Priority is meant for time-sensitive, user-visible content, and Apple devices reject high priority on data messages.
Will the delay ever be zero?
No service can promise that. Delivery depends on the phone, its network and the platform.
Sources
How was this page made?
I drafted this page with AI assistance from the official documents listed under Sources. Found a mistake? Tell me.