Has the Gnome team thought about working with Mozilla to allow Gnome to display notifications from their SimplePush API?I'm not part of the Gnome team, but I think it might be a better idea to create some a daemon which listens for simple push and then uses dbus to communicate the notification. Back of the napkin math looks thusly: App is installed: App sends a message to dbus telling the daemon to Register with a PushServer Daemon receives an Endpoint from the Push server and sends a message via dbus App receives an Endpoint from dbus and sends this to the App Server Message is Received: Daemon receives the message and extracts the UAID Daemon sends the message on dbus DBus routes the message to the app based on the UAID of the message App is uninstalled: App sends a notification to dbus. Dbus routes the message to the daemon Daemon unregisters the app App is garbage collected: It would be reasonable for the SimplePush daemon to periodically review which apps have consumed push messages and unregister applications which haven't been used in a while. Of course I am not a dbus guy either so my thought experiment could be completely bonkers. |
_______________________________________________ gnome-list mailing list gnome-list@xxxxxxxxx https://mail.gnome.org/mailman/listinfo/gnome-list