Is it possible to block a notification per app.
So it should not be displayed and make no sound.
Use case is:
In my holidays I want to block the mail notifications from my work.
I use the app outlook for my work mails.
Block Notification per app
Moderator: Martin
- chrisonline
- Posts: 12
- Joined: 22 Jan 2018 18:11
- Contact:
- digitalstone
- Posts: 342
- Joined: 21 Oct 2017 12:36
- Location: The Netherlands
Re: Block Notification per app
From Android Marshmellow on (i believe) that was already natively possible.
Try if you can slide the notification to the right or left. If so, you'll probably see a settings-wheel.
if you click on it, it will give you the options you'll need.
Try if you can slide the notification to the right or left. If so, you'll probably see a settings-wheel.
if you click on it, it will give you the options you'll need.
Phone: LG Nexus 5X (rooted vanilla Android 7.1.2)
- chrisonline
- Posts: 12
- Joined: 22 Jan 2018 18:11
- Contact:
Re: Block Notification per app
Yes I know. This is the manual way.
But I want to do this automatically with Automatic of course.
It should block the notification only if I am on holiday for example. Or on the weekend.
But I want to do this automatically with Automatic of course.
It should block the notification only if I am on holiday for example. Or on the weekend.
Re: Block Notification per app
What is your phone? Android version?
If you have Oreo 8.1+, it is better. You can use snooze Notification on statusbar, then set it to several days. You can set a time in the future in the glovar, then use script : glovar - triggertime, to calculate the difference of time, use getDurationString() to convert it to duration format and put it into the Snooze Notification on statusbar's Duration. At any time the notification appear, it will immediately suspended and will reappear again after the time you have set come, when you back to work. This is better, as you won't miss the notification, only delay it.
But if you don't have Oreo 8.1+, you can only remove the notification as it appears. The flow will be triggered more frequently as the email arrived (the snooze above only happen once), but it won't have the chance to produce sound/notif, as it is immediately removed by Automagic. It is so fast, that you don't know the notification has gone. The removed notification won't reappear, so you have to manually check your email app for the incoming emails (you should have checked it already when you back to work).
Put this into a flow, disabled by default. When you are going to holiday/weekend, use another flow, trigger time based, either Time or Calendar, and enable it when you want the flow starting to block the notification, and disable when you want the notification to be unblocked. You will need a pair, one to enable, another one to disable. All flow will be battery friendly, as they act on event, not periodic timer.
If you have Oreo 8.1+, it is better. You can use snooze Notification on statusbar, then set it to several days. You can set a time in the future in the glovar, then use script : glovar - triggertime, to calculate the difference of time, use getDurationString() to convert it to duration format and put it into the Snooze Notification on statusbar's Duration. At any time the notification appear, it will immediately suspended and will reappear again after the time you have set come, when you back to work. This is better, as you won't miss the notification, only delay it.
But if you don't have Oreo 8.1+, you can only remove the notification as it appears. The flow will be triggered more frequently as the email arrived (the snooze above only happen once), but it won't have the chance to produce sound/notif, as it is immediately removed by Automagic. It is so fast, that you don't know the notification has gone. The removed notification won't reappear, so you have to manually check your email app for the incoming emails (you should have checked it already when you back to work).
Put this into a flow, disabled by default. When you are going to holiday/weekend, use another flow, trigger time based, either Time or Calendar, and enable it when you want the flow starting to block the notification, and disable when you want the notification to be unblocked. You will need a pair, one to enable, another one to disable. All flow will be battery friendly, as they act on event, not periodic timer.
Index of Automagic useful thread List of my other useful posts (and others')
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.
- chrisonline
- Posts: 12
- Joined: 22 Jan 2018 18:11
- Contact:
Re: Block Notification per app
Great, thank you very much.
I have Android 8.1 so I will snooze it.
I have Android 8.1 so I will snooze it.
-
- Posts: 1
- Joined: 01 Oct 2018 13:24
- Contact:
Re: Block Notification per app
Just visit settings and from there you should be able to block the apps notification with ease....
Feel free to visit my tech blog.