r/GooglePlayDeveloper • • 9d ago

Showcase Showcase: building a notification manager around Android's listener lifecycle

Disclosure: I'm the developer of Pingfold, an Android notification-management utility.

Problem and approach

Per-app notification controls can be too coarse when one app sends both important and noisy alerts. Pingfold lets people keep selected notifications Immediate, route others into a scheduled Digest, or Block them. Rules can be scoped by app, notification channel, or phrase, with exceptions. It also includes temporary Focus sessions and a user-controlled notification history.

Platform

Android utility. Minimum supported version: Android 10 (API 29). Target SDK: 36.

Implementation notes

  • Kotlin and Jetpack Compose for the UI.
  • An Android NotificationListenerService receives notification events. The callback feeds a bounded capture pipeline; platform reads run on a separate bounded executor.
  • When the listener reconnects, Pingfold reconciles active notifications. A missing or null platform snapshot is treated as unknown, not empty, so a transient read failure cannot incorrectly clear active records.
  • Room stores structured notification, history and rule data; DataStore stores preferences.
  • Recent-content previews are separate, can be disabled and purged, and have configurable retention.
  • Notification access permission and listener connection are tracked as separate states. OEM background policies make that distinction important, so listener health and recovery guidance are visible in the app.

Main lesson

Permission onboarding is only the beginning for notification apps. Reconnects, stale snapshots, OEM lifecycle behavior and data retention all need to be designed as first-class product concerns.

Visual reference

The attached Pingfold feature graphic includes previews of the app interface. Notification counts visible in the UI are sample data, not installs or user/adoption totals.

Google Play listing (context only): Pingfold on Google Play

I'm interested in technical feedback on the reconnect/snapshot approach or how other developers explain Notification Access. No install, rating, review, vote or download request.

1 Upvotes

0 comments sorted by