开发者

a question related to Apple Push Notification Service iphone developement

开发者 https://www.devze.com 2022-12-15 13:14 出处:网络
I have 1 basic question, server sends me badge number= 5 first开发者_JAVA技巧 time server sends me badgenumber= 3 second time when my application is not running

I have 1 basic question, server sends me badge number = 5 first开发者_JAVA技巧 time server sends me badgenumber = 3 second time when my application is not running

but i seen that second time my bade number 3 is replaced by 5

but in my application i need that second time my badge number will be seen 3 + 5 = 8

is there any way to do it????


The iPhone Notification handler only shows the badge in the latest notification message (3, or 5). Your server needs to track the history and do any aggregation (summation in this case) that is necessary.

You might also want to clear the badge once the application is loaded or messages are read. The app would also need to notify the server of the update.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号