Home / Insights / Mobile App Development
Mobile App Development
Push Notification Strategy and Architecture: Segments, Quiet Hours and Reliable Delivery
Push notifications are one of the few channels that reach a user outside your app, and one of the easiest to lose. This guide sets out how to decide what to send, to whom and when, and how to build the delivery pipeline behind it.
Key takeaways
- Classify every notification before you build anything: transactional, time-sensitive, engagement and silent data messages need different priorities, channels and rules.
- On Android 13 and later notifications are off by default for new installs, so the permission request is part of your product design, not a technical afterthought.
- Quiet hours, frequency caps and deduplication belong in a central policy service, not scattered through every backend that wants to send a message.
- Use the platform controls properly: APNs priority, expiration and collapse IDs, FCM priority, time-to-live and collapse keys, and Android notification channels set once and carefully.
- Measure opt-in rate, opt-out and disable events, delivery failures and downstream actions per message type, and retire messages that cost more attention than they return.
On this page
- What are you actually sending? Classify messages first
- How do you earn and keep permission?
- How should you segment and target?
- How do you handle quiet hours, time zones and frequency?
- What does a reliable delivery architecture look like?
- How do you measure, test and govern it?
- Implementation checklist
- Frequently asked questions
- Sources and methodology
Most apps add push notifications in a hurry: a marketing tool is wired in, a few backend services call the provider directly, and within a year nobody can say how many messages a user receives in a day or why some arrive hours late. Users respond the only way they can. They switch notifications off, and on current versions of iOS and Android they can do that per app, per category or per channel in a couple of taps.
This article is for CTOs, product leads and operations owners who want notifications to stay a trusted channel. I cover what to send, how to segment, how to respect quiet hours and time zones, and what a delivery architecture for Apple Push Notification service (APNs) and Firebase Cloud Messaging (FCM) should look like. It reflects how we approach notifications on our mobile development projects, where push sits alongside authentication, data sync and the admin dashboards that drive it.
What are you actually sending? Classify messages first
The single most useful design step is to decide which class each message belongs to. Priority, sound, channel, retry behaviour, quiet-hour rules and even who is allowed to approve the copy all follow from the class. Without it, every message is treated as urgent, and users learn to ignore all of them.
Four classes that cover most apps
- Transactional: a direct consequence of something the user did or asked for. Order shipped, payment received, booking confirmed, password changed. Users expect these and are annoyed when they are missing.
- Time-sensitive: information that loses value within minutes. A driver is arriving, a shift has been reassigned, a security code is waiting. These justify interrupting the user and are the strongest case for high priority.
- Engagement and marketing: reminders, recommendations, promotions, re-activation nudges. Valuable when relevant, damaging when frequent. These are the messages users disable first.
- Silent or data messages: no visible alert, used to refresh content, invalidate a cache or trigger a sync. They are cheap for the user but subject to platform throttling.
Map classes to platform controls
Both platforms give you levers that line up with these classes. Apple’s UNNotificationInterruptionLevel has four cases: passive notifications are added to the notification list without lighting the screen, active ones light the screen and can play a sound, time-sensitive ones can break through system notification controls, and critical ones bypass the mute switch, according to Apple’s UserNotifications documentation. On Android, every notification on API 26 and later must belong to a notification channel, and the channel’s importance level decides whether it makes a sound or appears as a heads-up alert, as described in Android’s notification channels guide.
| Class | iOS interruption level | Android channel importance | Transport priority | Quiet hours |
|---|---|---|---|---|
| Transactional | Active | Default | High if user is waiting, otherwise normal | Usually allowed; consider deferring non-urgent ones |
| Time-sensitive | Time-sensitive (only when it truly is) | High | High | Allowed, with strict criteria |
| Engagement | Passive or active | Low or default | Normal | Always respected |
| Silent / data | Not shown | Not shown | Normal (APNs priority 5 for background) | Not applicable |
Action: list every notification your app sends or plans to send, assign a class and an owner to each, and delete anything nobody will own.
How do you earn and keep permission?
You cannot segment users who never opted in. On iOS the app has always needed explicit authorisation to show alerts. Android caught up with Android 13: according to the Android developer guide to the notification runtime permission, new installs on Android 13 and later have notifications off by default, and the app must request POST_NOTIFICATIONS and receive a grant before sending. If an app still targets Android 12L or lower, the system decides when to show the prompt, and a single “Don’t allow” means the user is not asked again until reinstall or an update that targets Android 13.
Ask in context, not on first launch
Google’s own guidance is to delay the prompt until users understand the value, and to trigger it from an action such as following an account, tapping an alert bell or submitting an order. That matches what we see in practice. A permission request that says “Get notified when your driver is five minutes away” at the moment someone books a delivery explains itself. The same request on a splash screen does not.
- Show a short pre-permission screen that names the specific messages the user will receive and how often.
- Offer granular choices in the app (orders, reminders, offers) so users can keep the useful ones rather than disabling everything.
- Check whether notifications are enabled before sending and record the state, so your analytics reflect reality.
- Provide a link to system settings for users who change their mind; on Android you can open a specific channel’s settings directly.
Design Android channels once
Android’s documentation is explicit that after a channel is created, the app cannot change its importance, sound or vibration programmatically; only the name and description can be changed, and the user has final control. Deleted channels are also shown to the user as a count in settings. Treat channel design as a schema decision: a small, stable set such as “Order updates”, “Account and security”, “Reminders” and “Offers”, each mapped to one message class.
Action: define your in-app notification preference screen and Android channel list in the same workshop, and make sure every message class maps to exactly one channel.
How should you segment and target?
Segmentation decides who receives an engagement message. Done well, it reduces volume and increases relevance at the same time. Done badly, it becomes an excuse to send more.
Segment on behaviour and preference, not just demographics
- Explicit preferences: categories the user opted into, language, and their own quiet-hour settings if you offer them.
- Lifecycle stage: new, active, lapsing, dormant. A dormant user who receives three promotions in a week usually uninstalls.
- Recent behaviour: items viewed, tasks left incomplete, an appointment coming up.
- Fatigue state: how many messages the user has received in the last day and week, and whether they opened any.
Topics, device groups or user-level targeting?
Provider features such as topics are convenient for broadcasts, but they push targeting logic into the provider and make per-user rules (frequency caps, quiet hours) hard to enforce. For most business apps we recommend resolving the audience in your own backend, then sending to individual device tokens or to a user-level abstraction that maps to tokens. Keep topics for genuinely public broadcasts, such as a service outage notice, where every subscriber should receive the same message.
| Approach | Strengths | Weaknesses | Use when |
|---|---|---|---|
| Provider topics | Simple fan-out, little backend code | Hard to apply per-user caps and quiet hours; limited audit trail | Public broadcasts with no personalisation |
| Marketing platform segments | Non-technical teams can build campaigns | Second source of truth for user data; can bypass your policy rules | Campaigns, provided sends go through your policy layer |
| Backend-resolved user targeting | Full control, consistent rules, auditable | More engineering; you own scaling | Transactional and time-sensitive messages, and any regulated context |
For example, a 30-person field services company might send job-assignment pushes from its own dispatch backend while marketing uses a campaign tool for seasonal offers. The important design choice is that both paths pass through the same policy service before anything reaches APNs or FCM.
Action: write down which system is the source of truth for audience membership, and forbid any service from calling the push provider directly.
How do you handle quiet hours, time zones and frequency?
Quiet hours are where notification strategy most often fails, because they need data the sending service rarely has: the user’s local time, their preferences and their recent message history.
Rules worth enforcing centrally
- Local-time quiet window: a default such as 21:00 to 08:00 in the user’s time zone for engagement messages, adjustable by the user. Store the time zone from the device rather than inferring it from account country.
- Deferral, not drop: an engagement message generated at 23:00 is queued for the morning, unless it would be meaningless by then, in which case it expires.
- Frequency caps per class: for example, no more than one engagement message per day and three per week, with transactional messages excluded. Treat these numbers as starting assumptions to test, not targets.
- Deduplication and collapse: if five status changes happen in a minute, the user should see the latest one, not five alerts.
- Exceptions with criteria: time-sensitive and security messages may bypass quiet hours, but only from an approved list of message types.
Use what the platforms already give you
The platforms help with collapse and expiry. Apple’s APNs request documentation describes the apns-collapse-id header, limited to 64 bytes, for merging repeated notifications into one, and the apns-expiration header, which tells APNs how long to keep trying; a value of 0 means try once and do not store. FCM offers equivalent controls: according to Firebase’s message options documentation, the time-to-live can be set from 0 to 28 days, defaults to four weeks if omitted, and a device can have at most four different collapse keys in use at once. A promotion that expires at midnight should carry a lifespan that ends at midnight, so it is not delivered to a phone that comes back online the next afternoon.
Action: agree default quiet hours and caps with product and marketing, document the exception list, and set an explicit expiry on every message type.
What does a reliable delivery architecture look like?
A notification system is a small distributed system in its own right. The aim is a single path from “something happened” to “the right device showed the right message”, with policy applied in one place and every step observable.
Reference components
- Event producers: order, booking, messaging and campaign services emit domain events (“order.shipped”) rather than calling a push provider.
- Notification service: consumes events, resolves the recipient and template, and applies preferences, quiet hours, caps and deduplication.
- Queue and scheduler: holds deferred messages and smooths bursts. A durable queue lets you retry without losing messages when a provider is slow.
- Provider adapters: one adapter for APNs, one for FCM (and web push if needed), each translating a channel-neutral message into platform headers and payloads.
- Token registry: device tokens per user, platform, app version and environment, with last-seen timestamps.
- Feedback and analytics: provider responses, delivery receipts where available, opens and downstream actions.
Platform details that matter in production
- APNs requires HTTP/2 with TLS 1.2 or later, and payloads are limited to 4 KB, or 5 KB for VoIP, according to Apple’s documentation. FCM data messages also have a 4 KB maximum payload. Keep payloads small and fetch details when the user opens the message.
- APNs priority 10 sends immediately, 5 sends based on power considerations, and 1 prioritises power over everything else. Background pushes must use priority 5; using 10 is an error. Apple also notes that priority 5 and 1 notifications may be grouped and delivered in bursts.
- APNs stores only one undelivered notification per bundle ID for an offline device, and may reorder notifications. Do not design flows that depend on ordering or on every intermediate message arriving.
- FCM high priority can wake a sleeping device at a battery cost, and maps to APNs priority 10; normal maps to priority 5. Reserve high priority for messages where the user would notice a delay.
In care, healthcare and logistics apps, such as the care coordination and clinical operations platforms we have built for Australian clients, a missing or duplicated message has real operational cost. Whatever vendor mix you choose, the principle is the same: producers emit events, a single service decides, adapters deliver.
Action: draw your current notification paths on one page. If more than one service calls a provider directly, plan to route them through a notification service before adding new message types.
How do you measure, test and govern it?
Notifications fail quietly. A broken template, an expired key or a time zone bug rarely raises an error in the app; it simply means users stop receiving or start resenting messages.
Metrics per message type
- Opt-in rate by platform, app version and where the prompt was shown.
- Provider acceptance and failure rates, including invalid tokens and throttling responses.
- Open or interaction rate and the downstream action the message was meant to cause, such as a completed booking.
- Negative signals: notification disables, channel changes on Android, uninstalls within 24 hours of a send, and support complaints.
Android users can see how many notifications an app sends per day, and Google advises using notifications responsibly for exactly that reason. Treat negative signals as seriously as opens.
Testing that catches real problems
- Unit-test policy rules: quiet hours across time zones and daylight-saving changes, caps, deduplication and expiry.
- Run end-to-end tests on real devices for each platform and OS version you support, including app killed, backgrounded and foregrounded states. Our article on finding mobile app performance problems covers how to fit device testing into release cycles.
Governance
Give one person ownership of the notification catalogue and the policy rules. New message types should go through a short review covering class, copy, audience, expiry and the metric that will judge it. For apps with a shared web and mobile codebase, decide early whether in-app inbox, email and push share templates; our piece on sharing code across web and mobile discusses where shared layers help and where they hurt.
Action: build a weekly notification report per message type and agree a threshold, for example rising disables after a campaign, that triggers a review.
Implementation checklist
Use this sequence for a new app or to repair an existing notification setup.
- Inventory existing and planned notifications; assign class, owner and success metric to each.
- Design the in-app preference screen and the Android channel list together; keep channels few and stable.
- Define the permission moment for each platform, with pre-permission copy tied to a user action.
- Set default quiet hours, per-class frequency caps and the exception list for time-sensitive messages.
- Build or adopt a central notification service; route every producer through it.
- Implement provider adapters with correct priority, push type, expiry and collapse identifiers for each class.
- Maintain a token registry with clean-up on invalid-token responses and app uninstall signals.
- Instrument sends, provider responses, opens, actions and disables per message type.
- Test policy rules across time zones, and test delivery on real devices in every app state.
- Review the catalogue quarterly and retire messages with poor outcomes.
If you are choosing a framework at the same time, our Flutter vs React Native comparison covers how each handles native platform features, which includes notification extensions and background handling.
Frequently asked questions
Should we use FCM for iOS or integrate APNs directly?
FCM can deliver to iOS through APNs and is convenient if you already use Firebase. Integrate APNs directly when you need full control of iOS-specific push types, headers or features such as Live Activities. Either way, put your own policy layer in front of the provider.
When should the app ask for notification permission?
After the user has seen value and at a moment that explains the benefit, such as booking a delivery or following an account. Android’s guidance recommends delaying the prompt and triggering it from a user action, and on Android 13 and later notifications are off by default until granted.
Do quiet hours apply to transactional messages?
Usually not, because users expect them, but non-urgent transactional messages can be deferred to the morning. Keep an explicit list of message types allowed to bypass quiet hours and review it regularly.
Why do some notifications arrive late or not at all?
Both APNs and FCM are best-effort services. Lower-priority messages may be batched for battery reasons, offline devices may only receive the latest stored message, and invalid tokens fail. Use appropriate priority and expiry, collapse repeated updates and monitor provider responses.
Sources and methodology
Guidance reflects PoliteTech delivery experience. The external references below informed specific points in this article.
- Apple Developer: Sending notification requests to APNs — accessed 9 November 2026. APNs priority values, apns-expiration and apns-collapse-id behaviour, HTTP/2 and TLS requirement, 4 KB payload limit, single stored notification per bundle ID and possible reordering.
- Apple Developer: UNNotificationInterruptionLevel — accessed 9 November 2026. Definitions of passive, active, time-sensitive and critical interruption levels on iOS.
- Firebase: About FCM messages — accessed 9 November 2026. Notification versus data messages, 4 KB data payload, normal and high priority and their APNs mapping, time-to-live range and default, collapse key limit of four per device.
- Android Developers: Notification runtime permission — accessed 9 November 2026. POST_NOTIFICATIONS on Android 13 and later, notifications off by default for new installs, prompt timing and best practice to ask in context.
- Android Developers: Create and manage notification channels — accessed 9 November 2026. Channels required from API 26, importance levels, inability to change importance after creation, user control over channels.
Related reading
Continue your research
Are your push notifications helping users or training them to switch off?
We can review your notification catalogue, permission flow and delivery architecture, and propose a practical plan for APNs, FCM and your backend.
