Push notification strategy: how to be helpful, not annoying
How to earn notification permission, send messages people value, time and personalise them well, and measure whether notifications help or hurt retention.
A checklist for diagnosing missing push notifications, from permissions and tokens to certificates, server configuration, battery optimisation and notification channels.
Push notifications usually fail because the user hasn't granted permission, the device token is missing or outdated, the server uses the wrong credentials or environment, the messaging service rejects requests, Android notification channels or battery optimisation suppress messages, or the payload is malformed. Check the device first, then the token, then server logs and provider responses, working along the delivery chain.
Push notifications travel through several systems: your server, Apple Push Notification service (APNs) or Firebase Cloud Messaging (FCM), the operating system and finally your app. A failure anywhere means silence. Work through the chain step by step.
Each installation registers with APNs or FCM and receives a token, which your server uses to send notifications.
iOS (APNs):
Android (FCM):
APNs and FCM return responses for each request. Errors often state the problem directly, such as invalid tokens, wrong topics, authentication failures or payload issues. Log these responses on your server.
On Android 8 and later, notifications must use a notification channel. If the channel doesn't exist or the user disabled it, notifications won't appear.
Test with the app in the foreground, background and closed. Apps often need code to display notifications while in the foreground, which can make it seem like nothing arrived.
If the app crashes when handling notifications, they may appear to fail. Crash reports help; see our guide to fixing iOS crashes on launch for how to read them.
Delivery is only half the story. Users who receive irrelevant notifications disable them. Our push notification strategy guide covers sending messages people value.
Websites and progressive web apps can send push notifications too, with their own permission prompts and service worker requirements. If web push isn't working, check browser permissions, service worker registration, push subscription storage and server credentials. Safari on iPhone supports web push for home-screen web apps, so test that path separately.
Log every notification sent, its target, the provider's response and any errors. When users report missing notifications, the log quickly shows whether the problem is on your side, with the provider or on the device.
Asking users to reinstall can refresh tokens, but it's disruptive. Fix server-side and app-side causes first.
Our mobile app development team diagnoses and fixes notification delivery on iOS and Android. Our web app developers build reliable notification servers with logging and token management, and our app development service includes notification testing in every release.
Often because the server uses the sandbox environment or wrong credentials for production builds.
Battery optimisation and manufacturer power-saving features can delay background delivery.
Yes. Google shut down the legacy FCM APIs, so servers must use the FCM HTTP v1 API.
This guide is general information, not legal, tax or financial advice, and details such as prices, features and rules can change. Product and company names mentioned are trademarks of their respective owners and are used only to identify those products; UK Technology Hub is not affiliated with or endorsed by them.
Tell us about your project and get a free, fixed quote.
Get a free quoteHow to earn notification permission, send messages people value, time and personalise them well, and measure whether notifications help or hurt retention.
How to find out why an iOS app crashes at startup using crash reports, and the most common causes, from missing permissions descriptions to slow launches and data migrations.
A calm, step-by-step guide to diagnosing and fixing a blank white WordPress page, from recovery mode and debug logs to plugins, themes and memory limits.