View Single Post
Posts: 3 | Thanked: 0 times | Joined on Jun 2015
#87
Hello, coderus.

I'm trying to get your wonderful notification daemon in use, but notifications are arriving very-very slowly. Typically from 20 minutes till 4 hours. Please, tell me how to debug such situation?

For now I'm trying it with Telegram android application. If the Telegram client is active, notifications arrive almost instantly. If the Telegram client is switched off, I need to wait for a long-long time.

Here is the requested in head post debug info, while I doubt in its usefulness for my case:

Code:
[nemo@Jolla ~]$ dconf dump /apps/android-notifications/
[/]
category_chat=@av []
dummyId=0
mode=1
defaultCategory='chat'
[nemo@Jolla ~]$ profileclient -g android.notification.tone
/usr/share/sounds/jolla-ringtones/stereo/jolla-imtone.wav
[nemo@Jolla ~]$ #install profileclient, if not installed: pkcon install profileclient
[nemo@Jolla ~]$ dconf dump /apps/android-notifications/
[/]
category_chat=@av []
dummyId=0
mode=1
defaultCategory='chat'
[nemo@Jolla ~]$ systemctl --user stop android-notifications
[nemo@Jolla ~]$ android-notifications
[D] NotificationsWatcher::start:64 - Service registered successfully! 
[D] NotificationsWatcher::handleNotification:212 - Faking sound with "chat" 
[D] NotificationsWatcher::handleNotification:223 - Replacing notification 317 
[D] NotificationsWatcher::handleNotification:212 - Faking sound with "chat" 
[D] NotificationsWatcher::handleNotification:223 - Replacing notification 317