Difference between revisions of "Notifications"

From WebOS-Ports
Jump to: navigation, search
(First draft of the notifications for WebOS-Ports)
(No difference)

Revision as of 02:24, 2 June 2014


The notification API needs to be updated in WebOS-Ports. The requirements for this API are:

- Compatible with Freedesktop's notifications API http://www.galago-project.org/specs/notification/0.9/index.html
- Flexible
- Simple to use
- Include creation, update and deletion of notifications

One candidate for inspiration is Chrome's notifications API: see https://developer.chrome.com/apps/notifications .

Current status of the API

* The DBus notifications are currently supported. 
* A very simple LS2 API is available: luna://org.webosports.luna/createNotification with the same arguments are for the DBus notification creation API.


The current proposal is to integrate the ideas of the Chrome Notifications API (templates,...) while keeping a compatibility with Freedesktop's notifications.