I'm using PG 2.2.0 and the latest UA plug-in. When I try to use the setBadgeNumber function like this:
push = window.pushNotification;
I get the following error in the Console:
[PushNotificationPlugin validateArguments:forExpectedTypes:] [Line 58] type mismatch in cordova callback: expected (
) and received (
(this was obviously for a submission for the variable 'count' of 2)
The way to make this work is to call it like the following:
Please file another issue if you are still experiencing this problem in the latest release.