Help

1. Introduction

DoNotNotify is an Android app designed to cut down the number of notifications from other apps on your device. While the Android OS itself does offer the ability to block all notifications from apps, or block them from specific channels (if the app has been programmed correctly), this often does not suffice. Most apps still do not use channels correctly (if at all), and DoNotNotify takes a different approach to notification blocking — by specifying rules that block, allow, stack or throttle individual notifications depending on the source app and their content.

Everything happens on your phone. DoNotNotify has no servers and needs no internet access.

2. Getting started

The first time you open DoNotNotify, a short setup walks you through what it needs:

After that, DoNotNotify checks every so often that it is still running. If your phone shuts it down, you'll get a "DoNotNotify isn't running" notification; tap it to turn it back on.

3. Creating a rule

The easiest way to create a rule is from a notification you want to deal with. In the "History" tab, tap the notification, then tap Create Rule. The rule wizard opens with the app, title and text already filled in. You can also start from scratch with Add a New Rule in the "Rules" tab, and pick the app first.

The app list starts with All apps. Choose it for a rule that applies to notifications from every app on your phone — for example, to block anything whose title contains "(AD)" or "Sale", whichever app sent it (see Rules for all apps below).

The wizard then asks for:

To change a rule later, tap it in the "Rules" tab. There you can change its type and filters, turn it off in Advanced Configuration, or delete it. Each rule shows how many notifications it has matched ("Hits"), plus a small icon for each condition it has. The All rules active switch at the top of the tab turns every rule off or on at once.

4. Denylist, Allowlist, Stack & Throttle

Every rule has one of four types:

If a notification matches both a Denylist and an Allowlist rule, the Denylist rule wins and it is blocked. Stack and Throttle rules never block the app's other notifications.

Rules for all apps. A Denylist, Stack or Throttle rule can apply to every app instead of one: pick All apps at the top of the app list when creating it. Such a rule always has a title or text filter, since without one it would act on every notification on your phone. Allowlist rules can't apply to all apps, for the same reason: one would block every notification that doesn't match it. When a notification matches both a rule for its app and a rule for all apps, the app's own rule is considered first — so a Stack rule you made for one app keeps its own stack even if an all-apps Stack rule matches too. In the "Rules" tab, rules for all apps are listed first, under "All apps".

On Android 13 and newer, stacking needs DoNotNotify's own notification permission — the setup asks for it, and any Stack rule will show an inline warning with a one-tap fix if it has been turned off. Once a Stack rule is saved, Sound and vibration in its Advanced Configuration opens Android's settings for that stack, so you can, for example, make it silent.

5. Match types: Contains vs. Regex

Each filter (title and text) has a match type toggle below it: Contains or Regex. A notification has to match both filters; an empty filter matches anything.

Contains (the default) is a simple case-insensitive substring check — the notification field just needs to include the text you typed, anywhere. For example, the filter promo will match "Big Promo Deal" or "PROMO Code".

Regex lets you use a regular expression for more precise matching. The pattern is matched against the field in the same way as the Unix grep command — it searches for the pattern anywhere in the field, and the match is case-sensitive by default. A few practical examples:

The ^ anchor matches the start of the field and $ matches the end (note: $ also matches just before a trailing newline, so use \z if you need a truly strict end-of-field anchor). The rule wizard won't let you continue with a pattern that has a syntax error. If one gets saved while editing a rule, that rule simply never matches — so if a regex rule does not seem to be working, double-check the pattern for typos.

6. Limiting when a rule applies

By default a rule is always on. To limit it to certain times or situations, tap Advanced Configuration in the rule editor, or on the last step when creating a new rule. Under Only apply when, you can turn on any of these conditions:

If you turn on more than one, all of them must hold. Rules with a condition show a small icon for it in the Rules list.

When a rule's conditions don't hold, DoNotNotify ignores that rule completely. This matters most for Allowlist rules: outside its conditions, an Allowlist rule does not block the app's other notifications, so the app behaves as if the rule didn't exist.

A couple of examples:

Blocked notifications are not delivered later when a condition stops holding, but you can always find them in the "Blocked" tab.

7. Throttle rules

Some apps send the same kind of notification over and over within seconds, like a navigation app counting down the distance to a speed camera. A Throttle rule lets the first matching notification through and then blocks the repeats for a while. Notifications that don't match the rule are not affected.

Choose Throttle as the rule type, set the title and text filters as usual, and then set how long repeats are blocked under Advanced Configuration, in seconds or minutes. It's one minute unless you change it. The Rules list shows each Throttle rule's rate, for example "At most one every 20 s".

Notifications held back by a Throttle rule appear in the "Blocked" tab. The wait restarts only when a notification actually comes through, so a steady stream of repeats can't keep it going forever. Ongoing notifications that stay put, like a music player's, are never throttled.

8. Pre-built rules, backups and sharing

DoNotNotify comes with ready-made rules for many popular apps, which block their promotional and engagement notifications. When it finds one of those apps on your phone, it adds the rules automatically and tells you which apps it found. To add the others, tap Browse Pre-built Rules in the "Rules" tab.

More rule lists, made by other users, are collected in the DoNotNotify-rules repository (Settings → Get more rules). To use one, download its file and import it with Settings → Export/Import Rules. The same option backs up your own rules to a file, so you can restore them later or move them to a new phone.

Once a rule you made has blocked 25 notifications, its card offers to Share it with the community. Sharing opens GitHub in your browser with the rule filled into a new issue; nothing is posted until you submit it there.

9. The History and Blocked tabs

The "History" tab lists the notifications that came through, grouped by app, and the "Blocked" tab lists the ones your rules blocked, including repeats held back by Throttle rules. Notifications are kept for 5 days; you can change this in Settings → History retention. To keep an app out of the History tab altogether, expand it and tap Stop monitoring. Your rules still apply to it, and you can bring it back from the "Unmonitored Apps" section at the bottom of the tab.

When you tap a notification in DoNotNotify's history, you get the option to trigger the action associated with it. However, sometimes the "Open" button will not be available. This is because Android does not allow us to store this action (called an Intent) in our database, and it must be kept in memory. Hence, if the memory is cleared for some reason (app closure/reboot etc), then the "Open" button will not be available.

10. My notifications are not being blocked despite creating a rule!

First, check that the rule is on, and that its conditions hold: a rule limited to certain hours or to when your phone is in use does nothing the rest of the time. The All rules active switch at the top of the "Rules" tab must be on, too. If DoNotNotify isn't blocking anything at all, your phone may have shut it down: tap the "DoNotNotify isn't running" notification if you got one, and check that DoNotNotify still has notification access and unrestricted battery use.

If none of that is it, it is likely an unfortunate side-effect of a feature called Live Update Notifications. Android does not allow us to block notifications from apps that use this feature. You can spot these notifications by looking at the "Blocked" tab in DoNotNotify. These persistent/ongoing notifications will have a warning icon next to them.

11. Feedback & Support

Your feedback is welcome. Please write to [email protected] with your comments and suggestions, or open an issue on GitHub to report a bug or request a feature. If you have an idea for a rule that would be helpful for other users of the app, please share it from the app or send it to us, and we will put it in the list of pre-built rules that ship with the app.