Trigger when a notification is cleared?

Post your questions and help other users.

Moderator: Martin

Post Reply
Marcoid
Posts: 10
Joined: 23 Sep 2013 22:55

Trigger when a notification is cleared?

Post by Marcoid » 18 Jan 2014 07:39

As described in this thread:
http://automagic4android.com/forum/view ... f=4&t=2451
... it is not possible to know whether or not a certain notification exists on the statusbar (not even a notification created with an Automagic flow).

So, how about this: is there any way to detect when a notification (particularly one created by an Automagic flow) is cleared? I can trap the tap action when the user selects the notification (Trigger "Notification on Statusbar Selected)... but it doesn't look like I can now when it was dismissed without tapping on it.

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: Trigger when a notification is cleared?

Post by Martin » 18 Jan 2014 09:02

It's currently not possible to do this. I think it would be possible to create a new trigger that is invoked whenever a notification is removed (Android 4.3+) and also a condition to check if a particular notification is currently shown on the statusbar (also Android 4.3+ only). This should also work for notifications posted by other apps. Let me add this to the todo-list.

Marcoid
Posts: 10
Joined: 23 Sep 2013 22:55

Re: Trigger when a notification is cleared?

Post by Marcoid » 19 Jan 2014 06:33

Awesome... Hopefully that can be implemented. Thanks!

- Marc

Post Reply