Skip to content
99tests Blog

How to Test Push Notifications on Real Devices

Learn how to test push notifications across permissions, delivery, taps and app states on real Android and iOS devices, with a step-by-step checklist.

How to Test Push Notifications on Real Devices
In this article
  1. Build the Test Matrix Before You Send Anything
  2. What to log for every row
  3. How to Test Notification Permissions Step by Step
  4. Calculate a grant rate per platform
  5. How to Verify Delivery and Display on Real Devices
  6. How to Test Taps, Actions and Deep Links
  7. Diagnosing Failures With a Symptom Table
  8. Turn Your Results Into a Release Decision

Airship's benchmark data puts median Android push opt-in at 53.3% in 2025, down from 59.5% in 2024 and 71.3% in 2023, with iOS holding near 49% (Airship 2025 Push Notification Benchmarks). Read that as a coverage number rather than an engagement one. On a typical Android install base, roughly half of users cannot receive a push at all.

Most push test plans never confront that. They send a message to a provisioned test device, watch the banner land, and mark the feature verified. The device that received it is the one device guaranteed to be reachable, so the test measures the sender and says nothing about the product.

I would rather see a team record a permission state and a reachability figure before it records a single delivery result, because every later number depends on that denominator. Testing how to test push notifications properly starts with asking who can't get one, then working backward to the ones who can.

Build the Test Matrix Before You Send Anything

A push can be accepted by the provider, deferred by the operating system, retried later, or dropped without notice, and every one of those outcomes can look identical in your backend logs. A single successful send proves the request left your system. It proves nothing about the screen in front of the user. That gap is what the matrix exists to close.

Build the state rows first. Each one needs a setup that you can repeat on a physical handset and a specific outcome to check.

StateHow to Set It UpWhat to Verify
ForegroundApp open and on screenNo duplicate alert; in-app handling runs once
BackgroundApp open but not on screenSystem banner appears; tap opens the correct screen
Force-quitSwiped away from recents or force-stoppedNotification still arrives; tap cold-launches the target screen
Device lockedScreen off with a passcode setContent hidden or shown according to the privacy setting
Offline then reconnectedAirplane mode for 30 minutes, then restoredQueued message arrives, or expires as designed
Low Power Mode or battery saverEnabled on iOS or AndroidDelivery may be deferred; compare receipt timestamps
Do Not Disturb or FocusFocus or DND active during the sendAlert suppressed; badge still updates
Notifications disabled in settingsSystem notification toggle offNo alert; in-app fallback or inbox entry appears

What to log for every row

Record the request identifier, payload type, priority, expiration, send timestamp, receipt timestamp, device model, OS version, network type, and the resulting state. That set is enough to separate a sender problem from a device problem without re-running the test.

Then add the permission-state rows, which are often skipped: fresh install before prompting, prompt accepted, prompt denied, notifications disabled in system settings, permission revoked after acceptance, and app reinstalled or upgraded. Run these before the delivery rows so every delivery result carries the permission state that made it possible. Android 13 turned notification permission into a runtime prompt through POST_NOTIFICATIONS, so a flow that worked for years now has a branch where the user said no.

Practical rule: a delivery pass on a device whose permission state you didn't record is not evidence. It's a screenshot.

Pick a device pool that covers at least two Android vendors and one iPhone generation. A single authorized test phone hides most of this matrix, and vendor battery management differs enough that one Android build tells you little about another. If you're unsure how far the pool should stretch, this guide to choosing devices for mobile app testing sets out the parameters worth matching.

Also confirm the product has an alternative path when push is unavailable: in-app messaging, an inbox entry, email, or SMS. The question that goes unanswered in most test plans is what a denied user sees instead.

How to Test Notification Permissions Step by Step

Permission is a funnel, not a checkbox, and the funnel leaks badly. A USENIX Security study using Chrome telemetry across hundreds of millions of users found that 74% of permission prompts concerned notifications, yet only 10% of desktop prompts and 21% of Android prompts were granted (USENIX Security study on permission prompts). The same study found 20% of desktop users and 30% of Android users granted notification permission at least once, which tells you timing and context move the outcome more than the wording of the prompt does.

A seven step infographic illustrating the process of testing browser notification permissions for websites.

Run the steps below in order on a clean install. Each one produces a row you can compare across platforms.

  1. Reinstall on a clean device. Wipe the app and its data so no stored permission state survives. A device that already granted permission can't tell you anything about first-run behavior.
  2. Trigger the prompt where the product intends. If the prompt is meant to follow a saved search or a first order, walk that path and confirm it appears there and nowhere earlier. A prompt on launch is the fastest way to train users into tapping Don't Allow.
  3. Accept, then confirm the token reaches your backend. A grant that doesn't register produces a user who looks opted in and receives nothing. Check the registration call, not just the dialog.
  4. Repeat on a fresh install and tap Don't Allow. Confirm the app shows its fallback, whether that's an in-app inbox, an email opt-in, or a settings nudge that explains the value.
  5. Disable notifications in system settings. The app can't re-prompt at this level, so verify it detects the state and stops promising alerts it can't deliver.
  6. Re-enable manually and confirm delivery resumes without a reinstall. This is the path support teams walk users through, and it breaks more often than the first-run flow.
  7. Revoke permission after acceptance, then upgrade the build. Check whether the app re-prompts correctly, stays silent, or crashes on a missing token.

Calculate a grant rate per platform

Permission grant rate is granted prompts divided by eligible prompts. Keep three versions: first grant, later grant, and recovery after denial. A single blended rate hides the case that matters most, which is a user who denied once and later changed their mind.

Segment the results by platform, browser, OS version, locale, and app state. A flow that works on one device can fail at the permission stage on another, and that failure usually sits in how the app reads the stored state rather than in the prompt itself.

Because the USENIX figures come from browser prompts, treat them as directional for mobile apps and measure your own grant rate per platform. What they do establish is that denial is the normal case, not the edge case, and a test plan that never taps Don't Allow is testing the easy half of the funnel.

How to Verify Delivery and Display on Real Devices

A pass on one online handset only tells you the payload can render for a device that is already reachable. Read every delivery result against the share of real users who can receive a push at all: a live token, permission still allowed, and an OS that has not deferred or dropped the message. Apple states plainly that APNs delivery is not guaranteed and may be immediate, deferred, retried, or discarded depending on battery state, network connectivity, and other device conditions (Apple's Push Notification Console documentation). A provider success response means the request was accepted. Your green dashboard is a record of intent.

A digital illustration of a smartphone sending a push notification email with icons of calendar and clock.

The console keeps notification history and delivery logs on different clocks. Export both during the session, while the request is still on screen, rather than assuming the evidence will still be there when the bug report lands.

  1. Send from the console to a registered token and save the request identifier. The identifier is the only thread that ties a request to its delivery record.
  2. Export the delivery log and notification history before you leave the console. Logs you leave behind are logs you lose.
  3. Send the same payload to three devices. One online on Wi-Fi, one on mobile data, one offline that reconnects after 30 minutes.
  4. Repeat with Low Power Mode or battery saver on. Compare the receipt timestamp against the send time rather than eyeballing the clock.
  5. Send an expired notification. Confirm it is discarded instead of arriving late and confusing the user.
  6. Fire three identical payloads in quick succession. Count how many appear on the device. More than one is a duplicate bug. Zero tells you the collapse behavior needs a decision.
  7. Record each run at four stages. Accepted, delivered, displayed, opened.
StageMeaningWhere to CheckOwner
AcceptedProvider returned success for the requestRequest identifier in the provider consoleBackend team
DeliveredDevice or OS received the payloadDelivery log exported during the session, plus the receipt timestampPlatform or push service
DisplayedAlert or banner appeared on the deviceScreenshot or screen recording from the test deviceQA
OpenedUser tapped and the target route loadedRoute title and analytics eventMobile team

Report those four proportions separately, then set them against reachability. A displayed rate of 100% on three lab phones that already hold a token and an allowed state is not the production rate. I treat that pass as incomplete until the report states what share of installs could have received the push in the first place. A drop between accepted and delivered points at the transport or the token, which is a backend conversation. A drop between delivered and displayed points at channel settings or OS suppression, which is a device conversation. Collapsing them into one delivery rate guarantees the argument about ownership lasts longer than the fix.

For Android sends through FCM, log the message priority, time-to-live, and collapse key alongside the four stages. Each one changes whether and when the device shows the alert, and without them a late arrival is indistinguishable from a lost one. Android's background restrictions also change what a device does with a queued message, so a send that works on one handset can stall on an OEM build that kills background work (Android background restrictions explained).

If push sits inside a wider pre-release sweep, a written checklist keeps the non-push surfaces from slipping, and LetsDeployIt's Lovable testing checklist is a useful companion for that pass.

A notification that displays perfectly can still dump the user on the home screen, and that failure never shows up in a delivery log. Routing is where push bugs live longest, because the tap happens after the send has already been marked successful.

  1. Tap from the foreground. Confirm the in-app view loads once and doesn't stack a second copy of the screen behind it.
  2. Tap from the background. Check the back stack after you land. Pressing back should return somewhere sensible, not exit the app.
  3. Force-quit, then tap. Confirm the target screen opens after launch instead of the home screen. Cold start is the most common place for deep link handling to break, because the routing code often runs before the app has restored its state.
  4. Test each action button separately. A notification with two actions needs two results, and the backend should record which one the user chose.
  5. Open from the notification while logged out. Confirm the login flow resumes the deep link after authentication instead of dropping the user at the dashboard.
  6. Tap on a second device signed into a different account. Confirm the payload doesn't expose the first user's data, which matters on shared or handed-down phones.
  7. Read the message, then check the badge. The count should clear on open, not on the next app launch.

The cold-start, logged-out case is where most routing defects sit, and it's the one manual testing skips because setting it up takes an extra thirty seconds.

Record the route reached, the screen title, and the badge value for every row. A route name in a bug report saves the developer a reproduction cycle; "deep link broken" costs one.

Diagnosing Failures With a Symptom Table

The most common report in any push test run is a silent device with the app installed and the backend showing success. That combination almost never sits at the sender. It sits at the permission layer, the notification channel, or the token, and the sender is just the last system to see the message before it disappeared.

Work down this table before touching the payload.

SymptomLikely CauseCheck First
No notification, app installedPermission denied or channel mutedCheck the runtime permission and channel settings
Arrives 10+ minutes lateBattery optimization or OS deferralRetest on charger with battery saver off; compare receipt timestamps
Tap opens home screenDeep link not handled on cold startRepeat the tap from a force-quit state
Duplicate alertsRetry logic or two tokens for one deviceCount registered tokens per device
Works on one device onlyPermission state or OS version differsCompare permission state and OS version across the matrix
Badge count stays up after readingBadge not cleared on openOpen the message, then check the badge in each app state

On Android, check the notification channel before you blame the backend. A channel the user muted suppresses alerts even when the runtime permission is granted, and no amount of server-side debugging will change that. Channel settings survive app updates and reinstalls on many builds, so a device that "worked yesterday" can be muted today.

On iOS, check Low Power Mode and the device's current delivery state before retesting the payload. A deferred message is a normal operating condition, not a defect, and resending it into a device that's already deferring tells you nothing new.

Timing rule: if a notification arrives more than ten minutes after send, repeat the test on a charger with battery saver off before filing a bug. That single retest separates a deferral from a defect and saves a round trip with the platform team.

When you do file, file it properly. A push bug without the device model, OS version, network type, and a timestamp is a conversation, not a ticket, and this bugs report template gives you the fields that make the difference.

Turn Your Results Into a Release Decision

A push feature is ready when three things are true: the permission grant rate is recorded for every platform you ship on, delivery is measured at all four stages, and every row in the state matrix has a recorded outcome. Anything less is a partial answer dressed up as coverage.

Run this checklist before you sign off.

  • Every state row has a result. A row with no outcome is a hold, not a pass.
  • Every failure has evidence. Screenshot or recording, reproduction steps, device model, OS version, and network type.
  • Grant rates are split three ways. First grant, later grant, and recovery after denial, per platform, compared against your baseline rather than against a competitor.
  • Denied users have a path. In-app inbox, in-app messaging, email, or SMS. If none exists, the release ships a dead end for half the audience.
  • Each open risk has a named owner and a fix. Not a team, a person.

Then decide. Ship when the matrix is complete and the only open items are cosmetic. Hold when any state row lacks a result, when a drop between accepted and delivered has no owner, or when denied users have no route to the content. Those three conditions are the ones that turn into support tickets within a week of release.

Write the decision, the run log, and the open risks into one place so the next release starts from the same matrix and the same baseline. Rebuilding the matrix each cycle is how teams end up retesting the same six states forever while the seventh stays broken.

If your team would rather hand the execution to people who own the phones, 99tests validates AI-generated test cases by having human testers run them on real devices and delivers human-verified pass/fail reports within three business days, with screenshots, reproduction steps, and device details for every failure.


Push testing fails when the only device that receives your message is the one device you already knew was reachable. 99tests puts your notification cases in front of human testers on their own Redmi, Realme, Galaxy, Vivo and iPhone handsets, on Jio, Airtel and Vi networks, so the permission prompts, lock-screen alerts, reconnects and deep links all get exercised on hardware you don't own. Send us a build link and your test cases, and you'll get back a verified pass/fail report with device-level evidence for each failure. Visit 99tests to start a session.