Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-11866

Android clear badge does not work

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • None
    • None
    • None
    • None

    Description

      I was trying the following and badge.clear() works on iOS. Nothing from below works on Android

      // cordova.plugins.notification.badge.promptForPermission();
      // cordova.plugins.notification.badge.set(0);
      cordova.plugins.notification.badge.clear();

      // var pushNotification = cordova.plugins.notification;
      // pushNotification.setApplicationIconBadgeNumber(successHandler,0);
      // PushNotification.setApplicationIconBadgeNumber(successHandler, successHandler2, 0);

      Attachments

        Activity

          People

            jcesarmobile jcesarmobile
            olegkhorev Oleg Khorev
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: