NTITLE variable function appears to no longer work in nougat

327 views
Skip to first unread message

Graham Salogar

unread,
Aug 25, 2016, 7:02:41 AM8/25/16
to Tasker
I had a profile that would give different audio notifications from my Twitter notifications based on the NTITLE. I had another one that would text to speech them too. After the 7.0 update, Tasker seems to no longer be able to find the NTITLE.

Workaround or solution?

John Doe

unread,
Aug 27, 2016, 1:49:20 AM8/27/16
to Tasker
Use Notification Listener plugin to grab the notification and then read %nltitle and %nltext

Graham Salogar

unread,
Aug 27, 2016, 7:27:45 PM8/27/16
to Tasker
When I go to use the Notification Listener plugin, no option seems to pop up that will grab by NTITLE.

Jean Dowe

unread,
Aug 28, 2016, 1:46:12 AM8/28/16
to Tasker
Sounds like we need Pent to update Tasker to use the notification API properly.

John Doe

unread,
Aug 28, 2016, 2:45:26 AM8/28/16
to Tasker
Because you can filter in the task, for example:

if %nltitle ~ *my special title*
  ....do something....
end if

Graham Salogar

unread,
Sep 2, 2016, 11:47:47 AM9/2/16
to Tasker
I replaced %NTITLE with %nltitle and no luck.

John Doe

unread,
Sep 2, 2016, 11:51:12 AM9/2/16
to Tasker
Please, post profile and task description

Graham Salogar

unread,
Sep 2, 2016, 12:01:18 PM9/2/16
to Tasker
Profile:

Event-Notification Owner App Twitter- Task-Twitter Notify: If %NTITLE matches X then play notification y

That is the main idea of the task, have a lot of if with the %NTITLE matching/not matching criteria in it that worked fine in previous versions of Android (and still work with my tablet on Marshmallow).

Installed Notification Listener Plugin and replaced %NTITLE with %nltitle and no luck. Also tried making Notification Listener the owner app and no luck.

John Doe

unread,
Sep 2, 2016, 12:08:25 PM9/2/16
to Tasker
It can't work in that way. If you want to use the plugin, you need to change the profile using a condition with the plugin not Tasker. Event->Plugin->Notification Listener. Select the app and the event "posted". Remember to grant access to the notifications for the plugin in your Android settings, open Notification Listener app, if you didn't do it, it will give you a warning

Graham Salogar

unread,
Sep 2, 2016, 12:13:46 PM9/2/16
to Tasker
Bingo! Figured my usage was wrong somewhere. Thanks!

Graham Salogar

unread,
Sep 2, 2016, 12:13:57 PM9/2/16
to Tasker

Pent

unread,
Nov 7, 2016, 3:28:45 AM11/7/16
to Tasker
The Notification event and %NTITLE should be working again (and better) next update
for 7.0 (and possibly earlier) devices.

Pent
Reply all
Reply to author
Forward
0 new messages