I read through many blogs and Stackoverflow threads regarding Status bar notification and most of the blog uses a plugin https://github.com/phonegap/phonegap-plugins/tree/master/Android/StatusBarNotification
But this gives 404 error. I didn't find any other valid plugin to do this.
I need to get this following code to work. What plugin do I need to use ?
window.plugins.statusBarNotification.notify("Notification", "Registered with Server");
Thanks
I resolved my issue with the following plugin and code snippet.
de.appplant.cordova.plugin.local-notification
cordova.plugins.notification.local.schedule({
id: 1,
title: "Production Jour fixe",
text: "Duration 1h",
firstAt: monday_9_am,
every: "week",
sound: "file://sounds/reminder.mp3",
icon: "http://icons.com/?cal_id=1",
data: { meetingId:"123#fg8" }
});
cordova.plugins.notification.local.on("click", function (notification) {
joinMeeting(notification.data.meetingId);
});
Thanks.