TL;DR: Push notifications are the one channel that can reach a user when your app is closed, and the one users switch off fastest when it is misused. Treat them as a product feature with its own design, not a marketing afterthought. Decide what each notification is for, ask for permission at the moment the value is obvious rather than on first launch, give people controls finer than "all or nothing," and measure whether notifications bring users back to do something useful, not just whether they were opened. Technically, you will send through Apple's and Google's push services, usually via a provider, and the real work sits in your own backend: who gets what, when, how often, and what happens when they tap.
Founders tend to meet push notifications twice. First as a line item ("we'll add notifications") and then, a few months after launch, as a problem: opt-in rates are low, the people who did opt in are turning notifications off, and nobody can say which messages actually help. This guide is for founders and product owners planning a mobile or web app who want to get notifications right the first time, and know what to ask whoever builds it.
What push notifications are good for
A notification interrupts someone. That is the cost. It is worth paying when the message is one of these:
- Something the user asked to know. A reply to their message, a booking confirmed, a payment received, a delivery on its way.
- Something time-sensitive they would be annoyed to miss. A session starting in ten minutes, a price change they set an alert for, a security warning about a new sign-in.
- The next step in something they started. A summary that finished processing, a plan that is ready, an upload that failed.
- A habit they chose to build. A daily check-in or reminder at a time they picked.
It is rarely worth paying for "we miss you," generic promotions, or anything that would be just as useful as an email next week. Each low-value notification spends trust that the high-value ones need.
A useful exercise before any build: write the full list of notifications the app will send, and next to each one, the action you expect the user to take after tapping. If you cannot name the action, the notification probably should not exist.
Transactional, product and marketing: keep them apart
Most apps end up with three kinds of notification, and they deserve different rules.
- Transactional notifications are triggered by something specific to the user: a message, an order, a confirmation. People expect these and rarely turn them off if they are accurate.
- Product notifications nudge the user to get more value: a streak reminder, a weekly summary, a feature they have not tried. These need careful frequency limits.
- Marketing notifications promote offers or announcements. Platform rules and privacy law in many markets treat these differently, and users are far quicker to disable them.
Separate them in your code, your settings screen and your reporting from the start. When they share one switch, a user annoyed by a promotion turns off everything, including the order update they actually wanted.
Asking for permission
On iOS and modern Android, you get one good ask
On iOS, an app must ask before it can show notifications, and once the user declines, the system prompt will not appear again; they have to go into Settings to change it. Android added a similar runtime permission in recent versions. In practice that means the first time you show the system prompt matters a great deal.
Ask at the moment the value is obvious
The most common mistake is triggering the system prompt on first launch, before the user knows what the app does. A better pattern:
- Let the user experience the app first.
- Wait for a moment where a notification clearly helps them: they just booked something, started a task that takes time, or set a goal.
- Show your own short screen explaining what you will send and why, in one or two sentences.
- Only if they say yes there, show the system prompt.
If they decline your own screen, you have not used up the system prompt and can ask again later at a better moment. iOS also offers a quieter "provisional" mode where notifications arrive silently in the notification center first, which can suit apps whose value is easier to show than to explain.
Respect the "no"
If someone declines, keep the app fully usable. Show the information in the app, offer an email or in-app inbox alternative, and do not nag on every launch.
Give users real controls
A settings screen with one toggle forces users to choose between everything and nothing. Most will eventually choose nothing. Offer controls that match how people think:
- By category, so someone can keep order updates but drop tips and promotions. Android notification channels let users manage these from system settings too, so name them clearly.
- By timing, such as quiet hours or a preferred time for daily reminders.
- By frequency, such as "every reply" versus "a daily digest."
Make the controls easy to find from the notification itself where the platform allows. A user who can quickly turn down one noisy category is much less likely to turn off the whole app.
Timing, frequency and relevance
Good notifications are mostly about restraint and context.
- Time zones. Send based on the user's local time, not your server's. A reminder at 3 a.m. gets the app's notifications turned off.
- Frequency caps. Set a ceiling per user per day or week for non-transactional messages, enforced in your backend, not left to whoever writes the next campaign.
- Collapse and replace. Five messages in a minute should become one notification that says "5 new messages," not five separate buzzes.
- Don't notify about what they just saw. If the user is active in the app or already read the item on another device, skip or clear the notification.
- Personal beats generic. A notification that refers to the user's own data (their plan, their booking, their summary) earns more attention than broadcast copy. If you use AI to personalise timing or content, the same principles as in AI personalization and recommendations apply, including clear limits on what the model can send.
For an app like LectureNotes AI, the obviously useful notification is "your lecture summary is ready": tied to something the student did, sent once, and pointing straight to the result. For a self-improvement app like Lifemaxxing AI, a reminder only works if the user chose it and can set when it arrives. Those two cases need different rules, which is why a single global notification setting rarely fits a real product.
Where the tap lands
The notification is half the experience. The other half is what happens on tap.
- Deep link to the exact screen, not the home screen. If it says "your summary is ready," open the summary.
- Handle the signed-out case. If the session expired, sign the user in and then continue to the right screen, rather than dropping them on a login page and losing the context. Our guide to user authentication for apps covers sessions in more detail.
- Handle missing or stale data. The item may have been deleted or the app may be offline. Show a clear message rather than a blank or broken screen; offline-first app development covers that pattern.
- Use rich content where it helps, such as an image, an action button ("Confirm," "Reply") or a short preview, but keep sensitive details out of the lock screen.
Privacy and sensitive content
Notifications appear on lock screens, smartwatches, car displays and shared tablets. Assume someone other than the user can see them. For health, finance, legal or personal topics, keep the visible text generic ("You have a new message") and show the detail after the app opens. For products in regulated areas, your compliance obligations apply to notification text the same way they apply to email; we touch on this in building financial software.
Also check what data you send through third-party push providers and analytics tools. Many teams never look at what is in the payload. Keep it to what the device needs to display and route, and fetch anything sensitive from your own server after the tap.
Web push and other channels
Browsers support push notifications too, which can be useful for web apps used at a desk. Support and permission behavior vary by browser and device, and on iPhone web push generally requires the user to add your site to their home screen first, so it cannot be your only channel for mobile users. If you are still deciding which platform to start on, web app vs mobile app first walks through the trade-offs, notifications included.
Push also sits alongside email, SMS and in-app messages. A sensible rule: push for what is urgent and personal, email for what someone may want to keep or act on later, SMS only where your audience expects it and has consented, and an in-app inbox so nothing is lost if push is off. If calls or texts are part of how you reach customers, see how we think about combining channels in voice and SMS AI agents.
How it is built
Under the hood, iOS notifications go through Apple's push service and Android notifications through Google's. Most teams use a provider or open-source layer on top to handle device tokens, retries and both platforms through one interface. That part is well solved. The parts that are specific to your product, and where projects go wrong, are:
- A notification service in your own backend that decides who should get what, applies preferences, quiet hours and frequency caps, and logs every send.
- Device token management, including users with several devices, tokens that change and tokens for uninstalled apps.
- Templates and localisation, so copy can be changed and translated without an app release.
- Testing on real devices in each state: app open, backgrounded, closed, signed out, notifications off. Simulators do not cover all of it, and this belongs in your testing and QA plan.
- Ownership of the accounts. The push certificates and keys live in your Apple and Google developer accounts, and the provider account should be in your name, as we explain in software ownership and handover.
Cross-platform frameworks handle push well, but some rich features need native code; it is worth asking about this early, as covered in native vs cross-platform app development.
Measuring whether notifications work
Open rate is the easiest number to collect and the least useful on its own. A notification can be opened and still annoy someone into disabling the rest. Track, per notification type:
- Permission opt-in rate, and where in the app it was asked.
- What users did after tapping, ideally the action you wrote next to it in the planning list.
- Opt-outs and disables that follow a send, by category.
- Long-term retention of users who receive a notification type compared with similar users who do not.
That last comparison is the honest test of whether a notification helps or just generates activity. Set up the events early; our guide to product analytics for an MVP explains which ones to start with. For subscription products, notifications tied to trials and renewals need extra care, which we cover in subscription app development.
Questions to ask whoever builds your app
- What is the full list of notifications at launch, and what action does each one lead to?
- When and how will we ask for permission, and what happens if the user says no?
- How are transactional, product and marketing notifications separated in settings and in code?
- Where are frequency caps and quiet hours enforced?
- Does every notification deep link to the right screen, including when the user is signed out?
- What appears on the lock screen for sensitive content?
- Can we change notification copy without shipping an app update?
- Whose accounts hold the push keys and the provider subscription?
The bottom line
Push notifications are a promise: "when we interrupt you, it will be worth it." Apps that keep that promise get a channel that brings users back. Apps that break it lose the channel, often for good. Plan the list, ask at the right moment, give real controls, land the tap in the right place and measure what users do next, and notifications become one of the most valuable features in the product rather than one of the most disabled.
Planning a mobile or web app and want notifications that people keep switched on? Book a demo and we'll map the right notifications, permission flow and backend for your product. See our product work: LectureNotes AI, Lifemaxxing AI and Fyuel, built and run with real users.