Easer icon indicating copy to clipboard operation
Easer copied to clipboard

Reading notifications from an app

Open alacecho opened this issue 4 years ago • 11 comments

Hello! Maybe is not exactly a issue, but I am getting this mistake from Easer: I have created a script that does not work. I want that when I get an e-mail notification from K-9 Mail, with a specific subject or content, a specific audio file (a kind of alarm) sounds. I have granted permission to read the notifications, and to access the phone's storage.

  • Profile: Play Media and link to File Path

  • Event: - Notification received - App: com.fsck.k9 - Title contains: Subject of the mail - Content contains: Key word from mail body

  • Condition: I have not established any condition

I think the problem is in indicating the "Fully qualified package name of the app", because the alarm sounds if I create a script with a specific time event, for example.

Android 9 Easer last version from F-Droid

Any idea? Thanks!

alacecho avatar Dec 18 '20 11:12 alacecho

Same here. I have the same need, and same problem...

I would also like to have a "catch-all" feature where it works for all apps not just one, I don't know if it's already like that but I can't make it work.

Mageek627 avatar Jan 27 '21 11:01 Mageek627

My script which reads Incognito mode notification doesn't work too

deepu2 avatar Aug 17 '21 13:08 deepu2

Hi, sorry for not the loooooong delay. I don't use K9 mail, so I'm not exactly sure about its package name. But I tried to find it out on its source repo, and found a potential match: com.fsck.k9.core.

The feature by @Mageek627 is supported: if you place nothing in the app id field, Easer will match every app.

renyuneyun avatar Sep 04 '21 23:09 renyuneyun

@deepu2 I guess "incognito mode" means "do not disturb" mode? If that is so, then there is nothing Easer can do AFAIK. Everything is based on official API, so we need to accept the API limitations too.

renyuneyun avatar Sep 04 '21 23:09 renyuneyun

@deepu2 I guess "incognito mode" means "do not disturb" mode? If that is so, then there is nothing Easer can do AFAIK. Everything is based on official API, so we need to accept the API limitations too.

Not do not disturb mode, I was talking about the notification from chrome browser when you open a new Incognito tab. I was thinking of reading that notification.

Screenshot_2021-09-05-21-11-46-82_b0b2789834e05496f6718b81538f0fbf.jpg

deepu2 avatar Sep 05 '21 15:09 deepu2

@deepu2 Thanks for the clarification. What was your setting (Event) that didn't work?

renyuneyun avatar Sep 24 '21 23:09 renyuneyun

Might be related, for me no combination (title, content, app) of the "Notification received" event gets triggered. Tested with other triggers and they work, just notifications doesn't seem to work. Tested with both the stable and beta versions of the app.

zakyum avatar Sep 27 '21 23:09 zakyum

I have the same problem. I wanted my phone to react to messages sent via Jabber (Conversations app) or Nextcloud Talk or e-mail (K9 mail client). I tried many configurations and my event was never triggered. It only works with SMS.

sk197876 avatar Feb 08 '22 09:02 sk197876

Notification event doesn't work for me too in Easer app, however it works with Automation 1.7.3 app from F-Droid, with same parameters (package name, title, content). Permission granted to Easer notification listener app. Android 11, Easer 0.8.2.2-beta.

anagramka avatar Apr 14 '22 07:04 anagramka

sorry friends @anagramka @sk197876 @zakyum any updates?

alirezadigi avatar May 25 '22 18:05 alirezadigi