Commit Graph

3 Commits

Author SHA1 Message Date
Braden Shepherdson
161428abb9 Improvements to Android status bar notifications
Several things here:
- Add support for the W3C notifications spec, and rewrite the old API to
  call the new W3C one behind the scenes.
- Notifications are now automatically cleared when the user clicks.
- Clicking the notification brings the user to the same instance of the
  app as was already running (and not a new copy as by default in
  Android notifications).
- Support for multiple notifications from one app using tags, as
  specified in the W3C spec and supported by Android.
- Support for canceling a single notification by tag, as per W3C spec.

Callbacks to Javascript when the user clicks are specified but not yet
supported; I will add that assuming I can get Android to call some code
in the plugin when the notification is clicked.
2012-08-28 15:19:40 -04:00
Max Ogden
eb63a0124b update readme and add more docs to statusbarnotification android plugin 2012-08-27 13:39:05 -07:00
Max Ogden
03dedd48b8 make android statusbar notification plugin work on all cordova/android versions EVAR 2012-08-26 16:49:50 -07:00