FORUMS
Remove All Ads from XDA

Array evtprm didn't contain app name of notification

53 posts
Thanks Meter: 6
 
By JasMan78, Member on 19th October 2019, 02:34 PM
Post Reply Email Thread
Hey,

I would like to forward e.g. Signal notifications to my TV via an HTTP post request. It should contain the name of the app and the notification text.
I'm using the evtprm array to extract this informations. But I can't find any value in the array that contains the app name. Only the package name is included. I've tested it with several apps.

I guess this is a new behaviour in Android 10. Is there another variable that I can use to display the app name?

Jas Man
19th October 2019, 04:43 PM |#2  
ktmom's Avatar
Senior Member
Thanks Meter: 2,363
 
More
Quote:
Originally Posted by JasMan78

Hey,

I would like to forward e.g. Signal notifications to my TV via an HTTP post request. It should contain the name of the app and the notification text.
I'm using the evtprm array to extract this informations. But I can't find any value in the array that contains the app name. Only the package name is included. I've tested it with several apps.

I guess this is a new behaviour in Android 10. Is there another variable that I can use to display the app name?

Jas Man

I think this is due to a change starting in tasker 5.8.3 back in July.

Quote:

Changes

Made App based events return the app's package name as the first value in the %evtprm() array

Can you use the "app changed" event or auto notification?
20th October 2019, 12:36 PM |#3  
OP Member
Thanks Meter: 6
 
More
Quote:
Originally Posted by ktmom

I think this is due to a change starting in tasker 5.8.3 back in July.
...

Ahh, I didn't noticed that. Thank you!

I've solved it now by an IF task.
IF %evtprm1 eq [PACKAGE NAME], then show [APP NAME] in notification.
Post Reply Subscribe to Thread

Tags
android 10, evtprm

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes