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
- 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 current status is:
- 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.