Closed jValdron closed 9 years ago
Sorry the documentation is wrong I think. Please use:
document.addEventListener("receivedLocalNotification", onReceivedLocalNotification, false);
I've added example project. Here is the example project sample code: https://github.com/Wizcorp/phonegap-plugin-localNotifications/blob/master/platforms/ios/www/index.html#L342
I'm trying to implement the
launch
callback, so that I can redirect the user to the proper page when he receives a notification, however, thelaunch
function doesn't seem to exist, even in the plugin file it doesn't declare it. Is there an event I can use or something?