An Apache Cordova Plugin to push notifications into the notifications area of your smartphone.
Using the Cordova CLI
cordova plugin add https://github.com/Julien-Marcou/Smart-Notifier.git
Using the Cordova CLI
cordova plugin rm fr.julienmarcou.smartnotifier
Simply type
Notifier.notify("Title", "Message");
You can also customize the icon
Notifier.notify("Title", "Message", "error");
There are 4 available icons default, success, error and calendar.
When the user click on the notification, he is redirected to your App and the notification is destroy. You can only have one notification at a time, if you add another notification, the last will be destroyed.
Customizable notifications