28

I would like to know if there's any app or any Tasker plugin that would allow me to block notifications on the weekends.

I got two email accounts, one personal with the Gmail app and the other work-related with the Inbox app. I receive like eighty emails on the last one per day (even on weekends), I would like to automatically block the Inbox app notifications from Friday night to Monday morning. Right now I do this by hand every weekend (and sometimes I forget to enable them again on Monday).

I found plenty of answers on how to block notifications per app, but not per time frame.

(If it matters, the phone is a non-rooted Samsung Galaxy S6)

Andrew T.
  • 15,988
  • 10
  • 74
  • 123
Fabman
  • 423
  • 1
  • 5
  • 9
  • In Lollipop, you can't block notifications without root access, adb, or through Settings app. For rooted Android, Notifications Off would easily work. If not, appops command can be used. – Firelord Feb 20 '16 at 12:26
  • In the Samsung s6 with lollipop sure you can. Just long press the notification, press info and then change block notifications to on. – Fabman Feb 20 '16 at 12:29
  • As I said, you can't block notifications without root access, adb, *or through Settings app*. That long press opens the app's page through Settings app! – Firelord Feb 20 '16 at 12:29
  • 2
    Anyway, please read the question, i don't need that, i need to block it by time frame. – Fabman Feb 20 '16 at 12:32
  • I understand the question well. Time frame is just a trigger, a context here. It cannot do anything on its own. There is no point in arguing over a trigger since you can't achieve what you want without root access, adb, or through Settings app – Firelord Feb 20 '16 at 12:34
  • Please, add your explanation as an answer and I'll mark it off there's no other valid answer in a couple of days. – Fabman Feb 20 '16 at 12:42

5 Answers5

8

In Settings open Notifications (under Device heading) ➡ Do not disturb ➡ Automatic rules ➡ + Add rule ➡ Type [Rule name], select [Time rule] or [Event rule], select OK ➡ select options for the new rule: Days, Filter notifications. Start time, End time, Do not disturb type.

Andrew T.
  • 15,988
  • 10
  • 74
  • 123
SoccerPhreak
  • 96
  • 1
  • 1
  • 1
    The setting is found in different locations depending on the phone manufacturer and is sometimes not available depending on the model of phone. – Professor of programming Oct 18 '17 at 10:23
  • My Filter notifications screen is loaded with notifications I've blocked in the past. It's a nonsensical, unordered list with specific notifications that have the full app name "com.organisation.whatsapp" etc. I think this is from a time when this screen functioned differently. Or maybe I used it incorrectly in the first place. Is there a way to clear all of them again and start over? – Chucky Aug 21 '18 at 08:13
  • Hm, it seems I do not have the "Filter notifications" option for a rule on a FP2 running a nearly stock Android 6. Anyone know if this screen was introduced in a later Android version? – Matthijs Kooijman Oct 03 '18 at 10:50
  • I can't see any 'filter notifications' running Android 8 (Android One version). Can anyone confirm that it still exists? – Kit Johnson Oct 14 '18 at 12:39
3

This can be done quite easily via Tasker but requires root.

  1. Create a profile using the 'Day' and 'Time' triggers

  2. Create a task which turns off notifications for XXX app via Secure Settings
    (Create Task, go to Plugin, Secure Settings, Root actions, Package notifications, select app, toggle)

  3. Set the profile to trigger the task.

Andrew T.
  • 15,988
  • 10
  • 74
  • 123
  • I have rooted phone (Nexus 5X), did exacly what it says and I'm still getting notifications. Any idea why? – David Mar 23 '17 at 18:03
  • I prefer the method SoccerPhreak has posted, it does not require root and has enough options for me to be happy I will get notified of the things I need to know about and for the less important things I can safely ignore them. – Professor of programming Oct 18 '17 at 10:24
  • This option seems to work fine for me. It might be interesting to note that this controls the normal Android "Block notifications" option (which can be reached through (on Android 6) Settings -> Sound & Notification -> App Notificiations, or by longpressing a notification and pressing the info icon). AFAICS this means that all notifications from that app are suppressed (not just the sound, which is what I was hoping for originally). – Matthijs Kooijman Oct 03 '18 at 10:53
3

I have had the same problem for quite some time. I have just developed an app that allows you to cancel notifications from specific applications on the day and time you want. Also, you can set a notification title and/or content, so only notifications of selected app with that title or content will be cancelled.

For example, you could cancel WhatsApp/Telegram notifications from chat group called "Work", between 7pm and 10am during weekdays, and whole weekends.

Here is the app: Disconnect

user61926
  • 131
  • 1
1

I use IFTTT to put my phone in Do not Disturb (DnD) mode based on date and time. Then set exclusions from DnD on the apps I want to get notifications on during that time frame. It will suppress all notifications based on time but let through the excluded apps.

Andrew T.
  • 15,988
  • 10
  • 74
  • 123
0

I use this app called Notification Blocker from the Play Store, it is perfect. The only thing is it will only allow you to block during a specified time frame and not by days of the week. You could always try and set up two rules though, one for the weekday and one for the weekends.

Mya
  • 1