Blog

Testing Notifications in a Google Play Closed Test: Channels, Tap Actions and Timing

Testing Notifications in a Google Play Closed Test: Channels, Tap Actions and Timing

Notification bugs rarely show up on your own phone. You test with the app open, the permission granted, and a notification you triggered a second ago. Real users get notifications while the app is closed, at odd hours, on phones with different settings. A closed test is a good chance to see that before production.

This post is a checklist for the notification part of your test: what to verify yourself and what to ask testers to look at.

Why notifications deserve their own test pass

A notification crosses several layers: your code, the Android system, the user's settings and sometimes a server. Any one of them can break the experience without a crash. The result is usually silence, a wrong screen, or a message the user finds annoying. None of these will appear in a crash report.

Notifications also decide whether people keep your app. A tester who gets a confusing alert on day three may just mute the app or uninstall it, which matters when you need testers to stay opted in for 14 days in a row.

Start with channels

Since Android 8.0 (API 26), every notification must belong to a notification channel. Users can change a channel's sound, importance and visibility in system settings. Check these things:

  • Channel names make sense to a user. Open the app's notification settings on a real phone. Names like channel_1 or default look sloppy and make it hard to know what to switch off.
  • Each channel has a purpose. Separate things users may want to control independently, such as reminders, messages and promotions.
  • Importance is right. A low-priority update should not make a sound. A time-sensitive reminder should not be buried silently.
  • You know the importance is hard to change later. After a channel is created, your app cannot raise its importance. Users own that setting. If you pick the wrong importance, the usual fix is a new channel ID, so it is better to catch it now.

Because of that last point, test with a fresh install as well as an updated one. Your own device may have a channel from an old build that behaves differently from what a new user sees.

The Android 13 notification permission

On Android 13 (API 33) and higher, apps that target it need the POST_NOTIFICATIONS runtime permission. Without it, your notifications are silently dropped. The official guide is on developer.android.com.

For this post, focus on what the denial does to the rest of the app:

  • If the user denies the permission, does any screen still promise reminders?
  • Is there a clear way to turn notifications on later from inside the app?
  • Do features that depend on alerts still make sense without them?

Ask testers on older and newer Android versions to report what they saw. The prompt flow differs between them.

Test every tap path

Tapping a notification is where most real bugs live. Try each of these on a real device:

  1. App fully closed. Swipe it from recents, wait for a notification, tap it. Does it land on the right screen?
  2. App in the background. Does it open the right screen, or just bring the old screen forward?
  3. App in the foreground. Do you show an in-app message, a system notification, or nothing? Pick one on purpose.
  4. Back button after the tap. Does Back go to a sensible parent screen or exit the app abruptly? This depends on how you build the back stack for the notification's intent.
  5. Logged out or expired session. If the notification points to private content, what happens when the user is signed out?
  6. Content that no longer exists. If the notification refers to an item that was deleted, does the app show a friendly message or crash?

Also check your PendingIntent setup. Apps targeting Android 12 and higher must declare mutability explicitly, usually with FLAG_IMMUTABLE. If you have multiple notifications with different data, make sure each gets its own request code or extras. Otherwise tapping the second one can open the first one's content.

Check what the notification says

Read the notification as a stranger would, in the shade and on the lock screen.

  • Truncation. Long titles and bodies get cut off. Is the important part visible in the first line?
  • Lock screen privacy. Should the content appear when the phone is locked? If it includes personal data, consider a public version.
  • Stacking. Five notifications in a row from your app should be grouped or at least readable, not a wall of identical text.
  • Duplicates. Does the same event produce two notifications, for example one from a server push and one from local code?
  • Language. If you ship translations, notification text is easy to forget, especially text coming from a server.
  • Icon. The small icon should be a simple monochrome shape. A colored square or a blob means the icon asset is wrong.

Timing and frequency

A notification that arrives at the wrong moment is a bug, even if the code works. Over a 14-day test you get to observe this more than you would in an afternoon.

  • Time zones. If you send reminders at a set hour, whose hour is it? Testers in different regions will notice quickly.
  • Do Not Disturb. Non-urgent notifications should respect it. Do not try to bypass it.
  • Frequency. Count how many notifications a tester receives per day. If you wouldn't want that many yourself, change it.
  • Cancellation. When the user opens the item in the app, does the matching notification disappear? Stale notifications are a common complaint.

Whether scheduled work actually fires on time under battery restrictions is a separate question, covered by testing background behavior. Here you only need to confirm that what arrives makes sense for the person holding the phone.

Give users control inside the app

Look for these in your settings screen:

  • A way to turn off categories of notifications.
  • A shortcut that opens the system notification settings for your app, for users who already denied the permission.
  • Settings that stay in sync with what the system shows. If the user turns a channel off in system settings, your in-app toggle should not claim it is on.

What to ask your testers

Generic feedback like "notifications work" is not very useful. Ask specific questions:

  1. What Android version and phone model are you using?
  2. Did you allow notifications? Was the request clear?
  3. Which notifications did you receive, and roughly when?
  4. When you tapped one, did it open the screen you expected?
  5. Did any notification feel too frequent, confusing or irrelevant?
  6. Did you ever expect a notification and not get one?

If you use TesterMob, testers use your app on their own Android phones for about 20 minutes a day and give written feedback, so these questions fit naturally into the notes you ask for. The optional Android SDK also shows daily tester activity in your dashboard, which helps you tell whether a missing report means a tester had no problem or simply did not open the app that day.

Release a fix while the test is running

If you find a notification problem, fix it and upload a new build to the closed track. Say in your release notes what changed and what you want re-checked, such as "tap the reminder with the app closed and tell us which screen opens". Testers respond better to a specific request than to a vague one. Our FAQ covers common questions about how testing works.

A short checklist to finish

  • Channels have clear names and sensible importance.
  • The Android 13+ permission prompt and denial path both work.
  • Tapping works with the app closed, backgrounded and open.
  • Back navigation after a tap is sensible.
  • Notifications clear when the content is handled.
  • Text is readable, translated and appropriate for the lock screen.
  • Frequency and timing feel reasonable across time zones.
  • Users can control notifications from inside the app.

Google Play policies and Android behavior change between versions, so check the current notification documentation on developer.android.com and the policy pages in Play Console Help before you finalize your build. Testing notifications will not guarantee production approval, but it removes a whole class of avoidable problems before real users see them.

Your 14 days start today.

Set up your closed test in minutes, or join as a tester and start earning.