Open Neotrixsx opened 9 years ago
As far as I know, the message counter has to be calculated and sent by the server according to the value you want to set, not by how much you want to increment.
So you should have some kind of mechanism where the client warns the server if any previous messages were read, and the server should calculate the badge number accordingly.
Thanks for your reply. I have already informed that I am new in iOS development so please if you know the badge counter increment mechanism please help me.
How to increment the badge in client side while receiving notification?
Hi all,
I am new in phonegap iOS Development, I use Pushplugin in my Application, Push Notification Working fine, But Badge counter is not incremental, its always fixed in 1.
In application I use latest PushPlugin 2.4.0 Link:- https://github.com/phonegap-build/PushPlugin
On server side, I used PHP. For badge I used code
// Create the payload body
Please Help Me.