Both platforms describe push delivery as best effort, which is a precise phrase and not a disclaimer. Arrival is a window rather than a moment, and its width depends on device state, power, and how recently the user opened your app — none of which you control. So a requirement reading “notify the user within thirty seconds” is specifying something nobody sells. The fix is architectural: make the notification an accelerator over a system that is already correct without it, and the missed ones cost latency instead of correctness.
Push notifications are the most over-trusted component in mobile software. They work on the developer's phone, every time, within a second, and that experience quietly becomes the assumption the rest of the product rests on.
Then a feature ships where something only happens if the notification arrives, and the support queue fills with people who never got one.
Best effort is the actual contract
Both platform vendors describe their push services as best effort. They will attempt delivery and will drop or defer a message depending on circumstances they judge, not circumstances you set. That is the whole agreement, and there is no tier you can buy that changes it.
What makes it feel like a guarantee is that the failure cases cluster away from the people building the software. A phone in active use, plugged in, on good wifi, with the app opened daily, receives notifications promptly and reliably. That describes every device in the office and a minority of devices in the field.
Where the window comes from
Power management. Both platforms suspend or batch work for apps the user is not actively using, and a device that has been sitting in a pocket overnight behaves differently from one in someone's hand. Marking a message as high priority asks the system to treat it urgently and it genuinely helps — it is still a stronger request, not a promise, and platforms penalise apps that mark everything urgent.
Manufacturer layers on Android. Several large manufacturers add their own battery management above the platform's, and those layers are more aggressive about suspending apps the user has not opened recently. The practical consequence is that one build behaves differently across brands, and the brands where it behaves worst are usually the ones nobody on the team carries. If your users are in markets where those handsets dominate, your internal testing is systematically optimistic.
Background and silent pushes. The category used for quiet data sync is the least reliable of all, explicitly subject to throttling on power state, usage and system load. It may arrive minutes later, batched with others, or never. Useful as an optimisation, unusable as a foundation.
The user. Permission can be declined at install and revoked later, per-channel controls can mute one category while leaving others, and a forced stop suspends everything until the app is opened again. All of this is correct behaviour and all of it is invisible to your backend, which recorded a successful handoff to the push service.
The specifications this breaks
Three requirements turn up repeatedly and none of them survives contact with the above.
“The user is notified within thirty seconds.” Not purchasable. If the number genuinely matters — a fraud alert, a delivery driver's next job — it needs a channel with a different contract, which usually means SMS, a phone call, or a foreground connection the app holds while it is open.
“The notification carries the data.” Two problems. A payload passes through a third party's infrastructure and is typically rendered on a locked screen, so anything you would not show a stranger holding the phone does not belong in it — balances, amounts, codes, health details. And if the push is the only carrier, a dropped one means the data is simply gone. Send an identifier; let the app fetch the detail over its own authenticated connection, which is the same boundary argument as deciding what a banking app keeps on the device.
“Background push keeps the app in sync.” It helps when it works. The app still has to reconcile on foreground, because the alternative is a user looking at a screen that was last correct on Tuesday.
What to build instead
The pattern that works is unglamorous: the notification is an accelerator over a system that is already correct without it.
Concretely, that means four things. The app reconciles state whenever it comes to the foreground, so a missed push costs latency rather than correctness. The same information exists in an in-app list the user can reach deliberately, because people who stopped trusting notifications go looking instead. Anything genuinely time-critical has a second channel. And nothing irreversible is triggered by a notification arriving — the push says something is waiting, and the app confirms it when opened.
Done that way, push does what it is good at: it brings people back sooner. It stops being the thing that silently decides whether a feature worked.
Measuring it honestly
The number most teams watch is how many messages the push service accepted, which is a measure of your own backend and nothing else. It will look excellent during an outage at the far end.
Two numbers are worth more. The first is how many notifications the app confirms it received, reported from the client, which gives you a real denominator and shows the gap. The second is stale tokens: tokens change on reinstall, device restore and periodic refresh, and a backend that never prunes accumulates addresses nobody is listening at. Both push services tell you when a token is dead — act on those responses, or your delivery rate degrades with every churned user for reasons that have nothing to do with delivery.
If per-brand data is available to you, split it. That is usually where the surprise is, and it is the same lesson as testing a release on the devices your users actually hold rather than the ones the team was issued.
A reasonable default
- Treat every notification as optional. If losing one breaks something, that something is designed wrong.
- Reconcile on foreground, always, regardless of what arrived.
- Put an identifier in the payload, not the content.
- Mirror every notification into an in-app list the user can open on purpose.
- Give time-critical events a second channel and say so in the specification.
- Measure client-confirmed receipt, and prune dead tokens on the responses you already get.
None of this makes delivery better, which is the point — you cannot. It makes the product indifferent to the difference, and that is the only version of this problem anybody can actually solve.
Questions we get asked
Can we guarantee a push notification arrives within a set time?
No, and no vendor sells that. Both platforms describe delivery as best effort: the push services will try, and will drop or delay a message depending on device state, power, connectivity and how the user treats your app. A requirement written as notify within thirty seconds cannot be met by any configuration, so it has to be rewritten as something the system can actually promise, or satisfied through a channel with a different contract.
Why do Android notifications arrive late or not at all on some phones?
Beyond the platform's own power management, several manufacturers add aggressive battery layers of their own that suspend apps the user has not opened recently. The effect is that the same build behaves differently across brands, and the devices where it behaves worst are usually the ones your team does not own. High priority messages are treated more urgently, but that is a stronger request rather than a promise, and marking everything high priority is itself penalised.
Is a silent background push a reliable way to sync data?
It is the least reliable category. Background delivery is explicitly subject to throttling based on power state, usage patterns and system load, so it may arrive minutes later, batched with others, or not at all. It is a useful optimisation when it works and a poor foundation. Anything that must be current should be fetched when the app comes to the foreground, with the background push treated as an occasional head start.
What should a notification payload contain?
As little as possible: enough to tell the app what changed and where to look, not the change itself. A payload passes through a third party's infrastructure and is typically displayed on a locked screen, so balances, amounts, one-time codes, health details and anything else you would not show a stranger holding the phone do not belong in it. Send an identifier, let the app fetch the detail over an authenticated connection.
What should we build instead of relying on push?
Make the notification an accelerator over a system that is already correct without it. The app should reconcile state whenever it comes to the foreground, the same information should exist in an in-app list the user can reach deliberately, and anything time-critical should have a second channel such as SMS or email with its own delivery characteristics. Then a missed push costs latency rather than correctness.
Why do our delivery numbers look worse over time?
Usually stale tokens rather than a delivery problem. Tokens change when an app is reinstalled, restored to a new device or refreshed by the system, and a backend that never removes the old ones accumulates addresses nobody is listening at. Handle the unregistered responses the push services return and prune on them, otherwise your denominator grows with every churned user and the metric stops meaning anything.
If a feature in your specification only works when a notification arrives, that is the sentence worth rewriting before the build starts. It is one of the first things we check on mobile app projects, because it is far cheaper to design around than to retrofit.