Notifications

From WebOS-Ports
Revision as of 02:24, 2 June 2014 by Tofe (talk | contribs) (First draft of the notifications for WebOS-Ports)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Target

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.

Proposal

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