Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
aravindforums1 opened this issue Oct 18, 2022 · 3 comments
Open

Comments

@aravindforums1
Copy link

aravindforums1 commented Oct 18, 2022

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 
@hugo4711
Copy link

hugo4711 commented Nov 7, 2022

We also experiencing this problem.

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

@aravindforums1
Copy link
Author

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

@qf-nikhil-dusad
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants