Thank you for helping. When I put the following code in, not only will it not clear a previous badge but it will not receive any push notifications.
var successHandler = function(){
var pushNotification = window.plugins.pushNotification;
pushNotification.setApplicationIconBadgeNumber(successHandler, 0);
};
On the Appery.io push side the push notification attempt results in an error:
Description: An error response packet was received from the APNS server: APNS: [1] Invalid token
Devices count: 1
Any further suggestions?
Thanks!
Kevin