We have moved to a new Sailfish OS Forum. Please start new discussions there.

[devel][qml] Notification category for im apps

asked 2019-05-24 11:07:48 +0300

cy8aer gravatar image

I tried to have im like notifications for my app. Therefor the Desktop Notifications Specification (https://people.gnome.org/~mccann/docs/notification-spec/notification-spec-latest.html) predefines a category "im.received".

I tried to create a qml Notification with this catagory="im.received" but nothing happens (no vibra, no plimmm). IMHO this should work. If not: Why and is there a solution for a normal app to act like an IM app with simple QML?

edit retag flag offensive close delete

1 Answer

Sort by » oldest newest most voted

answered 2019-05-24 16:59:18 +0300

coderus gravatar image

You can read proper docs: https://sailfishos.org/develop/docs/nemo-qml-plugin-notifications/qml-nemo-notifications-notification.html/

And grab possible categories from: /usr/share/lipstick/notificationcategories/

edit flag offensive delete publish link more


Bingo: x-nemo.messaging.im works. Thank you. (I knew the docs but did not know the lipstick notifications path)

cy8aer ( 2019-05-24 17:53:07 +0300 )edit
Login/Signup to Answer

Question tools



Asked: 2019-05-24 11:07:48 +0300

Seen: 159 times

Last updated: May 24 '19