~/talk

Supporting Notification Channels

TalkinJapaneseat DroidKaigi 2022 · 2022-10-05..10-07· [android, security]
links:none on file
slides:none on file

A news app migrates its in-app notification settings to Android notification channels by creating channels identified as channelID + importance + description, keeping a flat (no-group) channel list, and mapping OS channel names into a redesigned in-app UI so users can view and jump to the exact channel. Backend sync is implemented with WorkManager using linear backoff and a per-channel deduplicating worker that throttles events for N seconds to collapse rapid toggles; this reduced blanket opt-outs and produced measurable permission changes after release with continued monitoring.

AI-written summary · about

  1. 0:00Introduction
  2. 1:03Notification channels matter
  3. 2:10What are channels
  4. 3:55Pre-channel problems
  5. 6:00Benefits of channels
  6. 9:33Migrating to channels step-by-step
  7. 10:39Key channel parameters
  8. 11:42Channel importance levels
  9. 13:07Overriding importance
  10. 14:51Creating channels implementation
  11. 15:58Grouping channels
  12. 17:00Safe channel deletion
  13. 17:22Checking permissions
  14. 18:04Handling permission changes
  15. 19:27Backend sync for permissions
  16. 20:31Throttling permission requests
  17. 21:38Debouncing with WorkManager
  18. 22:41Reliable backend sync
  19. 23:03In-app settings decision
  20. 24:51Designing notification screen
  21. 25:34Toggle behavior handling
  22. 26:36Post-release monitoring
  23. 26:56Summary
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.