Does phonegap application can have an app icon with a number above it which states how many unread notifications are waiting?
The two plugins refrenced in the other answers are now available on server-side PhoneGap Build too:
<gap:plugin name="de.appplant.cordova.plugin.badge" />
(plugin 384)
<gap:plugin name="com.phonegap.plugins.pushplugin" />
(plugin 324)
They report to be working with latest 3.0.0 and 3.1.0 versions of PhoneGap.
If you're planning on using push notifications, you might want to use this plugin: https://github.com/phonegap-build/PushPlugin
It has this function for setting the badge number:
pushNotification.setApplicationIconBadgeNumber(successHandler, errorHandler, event.badge);
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With