by P. Andreas Schmidt, IVE
Version 2 (February 13, 2023)
Download (27 downloads)
Non-premium no root no ADB
Updates:
-added an unsnooze feature when you stop it (by hitting qst) before the time runs out, all snoozed notifications will be unsnoozed at once, you don't have to wait for the picked time to pass.
I was surprised not to find something like this already on the community, but I guess most have an Android that does this for them.
This flow helps you in times when you need to use your phone but don't want to be bothered by notifications. So it automatically snoozes then for you.
A QST is used when you hit it, you will be asked for how long the flow should do this, all notifications in that time window will be delayed until that same time. If you hit the qst again before time is up, it will stop (the notifications remain snoozed that can't be reversed)
Block 28 at the beginning defines a whitelist dictionary where you can specify apps or notification-titles, as well as keywords in the message to be excepted from snoozing. This done with regex so it doesn't have to be a full match, i.e. the exact package name. Upper/lowercase is ignored. If you don't need to whitelist leave as is.
Bugs or suggestions in the comments are welcome.