Remove notification FAIL

Post your questions and help other users.

Moderator: Martin

Lucy
Posts: 225
Joined: 10 Aug 2019 11:24

Remove notification FAIL

Post by Lucy » 10 Nov 2019 00:11

Hey.. i got an app that is being difficult. Its an asteroid tracker that periodically pops up a notification when something is detected.
The notification CANNOT be swiped off. The only way to dismiss is to press the "CANCEL" button. I have tried desperately hard to have automagic do it for me but everything i try does not work. The only working action i could do is "click notification" which then opens the app, so not working well for me. I have taken screenshots of the apps notification as well as several actions i have attempted to utilize but failed. Please let me know if there is another way around it.

Actions attempted:
20191110_110113.jpg
Actions used in flows to TRY dismiss notification
20191110_110113.jpg (266.5 KiB) Viewed 16547 times
Notification to remove:
20191110_105336.jpg
Notification
20191110_105336.jpg (47.1 KiB) Viewed 16547 times
With the perform action... every way i write the "CANCEL" button fails. Says no such button exists in flow error. I have tried writing it all ways and leaving blank. I have also tried to use command line to kill, tried opening, show homescreen and kill, tried everything.

User avatar
Rafi4
Posts: 281
Joined: 01 Dec 2017 05:23

Re: Remove notification FAIL

Post by Rafi4 » 10 Nov 2019 01:20

Hi Lucy
Use trigger "Notification on Statusbar Displayed" Select app name enter text * in text field
Use action "Perform Action on Notification on Statusbar: Click notification" . Use Click button option.
Use condition debug dialog to know the exact button.

from record4
No.1 Automation app in play store Automagic Premium
Samsung Galaxy j2 non rooted.
Android 5.1.1

Lucy
Posts: 225
Joined: 10 Aug 2019 11:24

Re: Remove notification FAIL

Post by Lucy » 10 Nov 2019 05:43

I have done exactly this😥 except debug... will see if it (doubtfully) makes a difference - the ui event text in rhe notification and the button text also. The notification itself shows "CANCEL" but the info from the event captured says "Cancel". I have tried both

Lucy
Posts: 225
Joined: 10 Aug 2019 11:24

Re: Remove notification FAIL

Post by Lucy » 10 Nov 2019 12:01

It says.. "following buttons are available: []"
For some reason automagic cannot read the button. Looks like i have to take it up with the dev of that app.

User avatar
Rafi4
Posts: 281
Joined: 01 Dec 2017 05:23

Re: Remove notification FAIL

Post by Rafi4 » 10 Nov 2019 12:54

Hi Lucy
In this flow simply modify app name and in text field enter *
i think this will fulfil your needs.

from record4
Attachments
Click button.xml
Notification button
(1.46 KiB) Downloaded 689 times
No.1 Automation app in play store Automagic Premium
Samsung Galaxy j2 non rooted.
Android 5.1.1

Lucy
Posts: 225
Joined: 10 Aug 2019 11:24

Re: Remove notification FAIL

Post by Lucy » 10 Nov 2019 14:20

Lol.. thanks sweetie but that is exactly what i have. It does not work for this notification. The dev has changed the way the system handles the notification!? Cause im telling you, what you presented is EXACTLY what i already have as flow (with correct app name and text fields modified)

User avatar
Desmanto
Posts: 2709
Joined: 21 Jul 2017 17:50

Re: Remove notification FAIL

Post by Desmanto » 10 Nov 2019 17:56

It seems that CANCEL button is somewhat special button that is different than usual notification action button. Maybe it implements the widget method, which I don't know how to deal with it yet.

The other workaround is using Snooze notification on statusbar. But I don't know if it will be ugly solution or maybe even can stack up the notification until you open the app (opening the app should have clear all the queue of snoozed notification).
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.

Lucy
Posts: 225
Joined: 10 Aug 2019 11:24

Re: Remove notification FAIL

Post by Lucy » 10 Nov 2019 19:15

Hmm... yeah i knew the notification was handled in a different manner which is why in trying to contact the dev and see if they can assist me. That snooze option i think may stack. But hey, im willing to try anything. Thank you

User avatar
Rafi4
Posts: 281
Joined: 01 Dec 2017 05:23

Re: Remove notification FAIL

Post by Rafi4 » 11 Nov 2019 07:28

Hi Lucy
Use AutoNotification plugin to do that. Simply install plugin . Open it. In standalone features. Click on

notification blocking
+ icon
And add which you want.

from record4
No.1 Automation app in play store Automagic Premium
Samsung Galaxy j2 non rooted.
Android 5.1.1

Lucy
Posts: 225
Joined: 10 Aug 2019 11:24

Re: Remove notification FAIL

Post by Lucy » 11 Nov 2019 10:19

Plugin? Oh... where do i find plugins?

Post Reply