Push notification clickabke

147 views
Skip to first unread message

Amundsf

unread,
Mar 18, 2025, 1:18:19 PM3/18/25
to mementodatabase
Hi again

Using method notification() I get a push notification on my Android device. 

But the notification is not clickable, is that possible? 
I would like to click it to open Memento - and i best case show a given library directly. 


Thank you in advance 
Amund 

David Gilmore

unread,
Mar 18, 2025, 5:44:04 PM3/18/25
to mementodatabase
I do not think this is possible without some changes in Memento. Might make a good new feature. Perhaps you can suggest it directly to the Memento people on their web site (Memento does not regularly read this forum).

I get around this by sending a command to the Android Tasker program, who can then post a notification (from Tasker) that says or does whatever I want.

NexTechLife Chanel

unread,
May 25, 2025, 4:51:32 PM5/25/25
to mementodatabase
  I'm trying the notification() method in 'Action' scripts, but I'm not getting any results. Version 5.5.4, Android 12, all permissions have been granted...  

вторник, 18 марта 2025 г. в 22:44:04 UTC+1, aa6...@gmail.com:

Amund Stigen Fjeld

unread,
May 25, 2025, 5:02:19 PM5/25/25
to NexTechLife Chanel, mementodatabase
Can you post the script you use? 

 - Amund


--
You received this message because you are subscribed to a topic in the Google Groups "mementodatabase" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/mementodatabase/fJa-Kx596Nw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to mementodataba...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/mementodatabase/7b63a870-ea54-490e-9702-78f578bedff6n%40googlegroups.com.

Amund Stigen Fjeld

unread,
May 25, 2025, 5:41:51 PM5/25/25
to NexTechLife Chanel, mementodatabase
Hi

Search for notification on this page:

It's in sub header "Interaction with the system". 

 - Amund


søn. 25. mai 2025, 23:34 skrev NexTechLife Chanel <artemk...@gmail.com>:
Yes. Simple line: "notification("test")"

воскресенье, 25 мая 2025 г. в 23:02:19 UTC+2, Amundsf:

Mmm

unread,
May 26, 2025, 8:35:51 AM5/26/25
to mementodatabase
Если нужно открыть конкретную запись по клику - воспользуйтесь методом  entry().remind().
При выполнении своего условия вместо вызова notification() добавьте:

entry().remind(Date.now()); //где entry() нужная запись нужной библиотеки

понедельник, 26 мая 2025 г. в 00:41:51 UTC+3, Amundsf:
Reply all
Reply to author
Forward
0 new messages