cordova-plugin-badge icon indicating copy to clipboard operation
cordova-plugin-badge copied to clipboard

Badge count not showing in app icon after install app in android

Open aravindforums1 opened this issue 3 years ago • 3 comments

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 

aravindforums1 avatar Oct 18 '22 07:10 aravindforums1

We also experiencing this problem.

We have tried browserstack, default stock android and also an android device. Non are working

hugo4711 avatar Nov 07 '22 09:11 hugo4711

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

aravindforums1 avatar Nov 11 '22 07:11 aravindforums1

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

qf-nikhil-dusad avatar Dec 12 '22 17:12 qf-nikhil-dusad