💤 Custom notification snooze duration

by Trapier Marshall

Version 5 (June 13, 2024)

Download (26 downloads)

Prompts for a duration when the user snoozes a notification.

Requires Android 12 or later. Developed on stock Android 13.

CHANGELOG
v5: again ignoring ongoing notifications. not worth the churn.
v4: also monitor ongoing notifications
v3: stops opening notification shade after snoozing a "pop up" notification
v2:
- fixes calculation on clock pick option
- adds 30 min option

KNOWN LIMITATIONS
* The "Snooze for?" dialog won't appear for snoozed "pop up" notifications until they are swiped away.
* Triggered by notification snoozed from other flows.

TODO
* [ ] improve handling of "pop on screen" notifications:
- [ ] should prompt without requiring user to swipe away snoozed notification
- [x] should not open notification shade
* [ ] Provide a means for other flows that snooze notifications to pass notification ids for this flow to ignore. (IN TESTING)