Follow

Need help with notifications in on a OnePlus6. Below excerpt gives audible, but no visible notification.
--
if mmscount > 0:
notification = Gio.Notification()
notification.set_title(f"{mmscount} MMS messages queued.")
notification.set_priority(Gio.NotificationPriority.HIGH)
self.send_notification(None, notification)
Lfb.init('XYZ')
event = Lfb.Event.new('message-new-sms')
event.trigger_feedback()
time.sleep(1)
--

Sign in to participate in the conversation
Librem Social

Librem Social is an opt-in public network. Messages are shared under Creative Commons BY-SA 4.0 license terms. Policy.

Stay safe. Please abide by our code of conduct.

(Source code)

image/svg+xml Librem Chat image/svg+xml