Does anyone know how to call the onclick handler for the StatusBar Notification Phonegap plugin? The noftification I created is showing up in my status bar, but I would like to create a click event on the item in the status bar. My code currently looks like this:
window.statusBarNotification.notify('title', {
body: 'body message',
tag: 'download',
onclick: function() {
// handle click
}
});
I finally figured out the onclick. In the plugin js the notify method looks like this:
I modified it to look like this:
Now my code in the original question works.