Question:
We sent a push and incremented the badge.
Users are reporting they cannot get the badge to disappear when opening the app. Is this expected?
I was thinking we could potentially send a silent push to decrease the badge. Would this make sense?
Answer:
Basically, this should be done on the application side by calling the setBadgeNumber(0) method on the application open to clear badges. Or you can use addBadgeNumber(int deltaBadge) to decrement existing number by passing -1 (or any other negative value) as a parameter.
Please see the below link to get more details:
https://github.com/Pushwoosh/pushwoosh-android-sdk/blob/master/Documentation/badge/PushwooshBadge.md#public-static-void-setbadgenumberint-newbadge
Sending a silent push to decrease the badge makes sense, however, it will decrease the badge to users, who did not open the app and have some messages unread.
Comments
0 comments
Please sign in to leave a comment.