You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "jcesarmobile (JIRA)" <ji...@apache.org> on 2016/09/19 07:29:20 UTC
[jira] [Closed] (CB-11866) Android clear badge does not work
[ https://issues.apache.org/jira/browse/CB-11866?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
jcesarmobile closed CB-11866.
-----------------------------
Resolution: Not A Problem
Assignee: jcesarmobile
This is not a Cordova problem, Cordova doesn't provide such API, you are using 3rd party plugins, try opening an issue on the plugin github repository.
> Android clear badge does not work
> ---------------------------------
>
> Key: CB-11866
> URL: https://issues.apache.org/jira/browse/CB-11866
> Project: Apache Cordova
> Issue Type: Bug
> Reporter: Oleg Khorev
> Assignee: jcesarmobile
>
> 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);
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org