I'm using the Xtify plug in through Application Craft.
After looking at Xtify's help page: http://developer.xtify.com/display/sdk/PhoneGap+Cordova+for+iOS+Xtify+Integration+Guide
at the section: To Manage the Badge Count
I found a set of functions to control the Badge Number.
But it is not clear from these functions, how can I deduct the Badge Counter by one, after the user reads one of the received notifications. For the moment I can only completely clear all notifications from the Tray (and the Badge Counter disappears).
But if the user has received 4 unread notifications, the badge counter is set to 4. Then if the user reads one of these notifications, the badge counter is still stuck to "4". I want to simply reduce the counter by one and remove only that "read" notication from the tray and not ALL notifications.
Any help would be really appreciated.