Reputation: 365
we need iphone to increase the badge numeric value on push notification arrival without initializing the application. f.e. a notification with a badge values of 1 arrives and is shown on the app icon. then another notification with badge value of 2 arrives. 2 replaces 1 on the badge, but we would like to make it 1+2=3. is a server side work around is the only way to deal with this issue? thanks!
Upvotes: 0
Views: 1312
Reputation: 4946
what ever value you are sending to app, that value will be displayed on top of App Icon, either the value may be 4 or 90 or 100.. if you want to do like 1+2=3, just increment the badge number dynamically i.e
Present badge number = Present badge number+2;
Upvotes: 2
Reputation: 37729
Yes, server side work around is the only way..
What value you will send from server will be set to the icon.
Upvotes: 2