So I’ve been working a lot with phonegap lately and I am loving it! The one thing I am not such a fan of is sometimes things I need to do aren’t really well documented or the current solution doesn’t work for me.
The localNotification plugin is an awesome plugin to let you schedule notifications to go off at specific times and dates, but a few things it lacks is the ability to attach callbacks to your js, as well as attaching sound to the alerts.
In the iOS documentation they talk about having specific actions associated with your localNotifications as well as sounds. So after some tinkering I added to the phonegap localNotification plugin, I’ve added the ability to attach callbacks into your javascript, as well as attach a sound to the alert!
I’ve put the project up on GIT so feel free to download it, I am working on getting this added to the official plugins of Phonegap, but for the time being use this project.
Here are the details –
Continue reading →