cordova-plugin-badge
cordova-plugin-badge copied to clipboard
Badge count not showing in app icon after install app in android
Hi, I install cordova-plugin-badge in cordova app for testing ,my Cordova version is 11.0.0 This is the code i used to show badge.
function onLoad() {
document.addEventListener("deviceready", onDeviceReady, false);
}
I call the onload function once app is open and in onDeviceReady function i call then badge count.
function onDeviceReady() {
alert("ffff");
cordova.plugins.notification.badge.configure({ indicator: 'circular' });
cordova.plugins.notification.badge.set(10);
}
I called above 2 lines like above, but it not showing count on icon. Any reply much appreciated.
Regards
Aravind
We also experiencing this problem.
We have tried browserstack, default stock android and also an android device. Non are working
We also experiencing this problem.
We have tried browserstack, default stock android and also an android device. Non are working
is it correct way i call the badge count ? inside mobile device
I am also experiencing the same problem. If someone find some solution please let me know, also let me know the correct way of calling the plugin if it is not the correct way