Batch allows you to display a badge in the top right corner of your app icon when your users receive a new notification. Here is how it looks:
Badge counts are especially useful to show your users that new content is available in your app. This is a simple way to re-engage users and create more visits in a non-intrusive way.
Customer on paid plans can add a badge to their notifications on iOS:
From the Dashboard,
Via the Transactional or Campaigns API.
From the Dashboard
You set a badge count (e.g. 99) by copy/pasting the following code in Advanced settings > Custom payload:
Using the Campaigns/Transactional APIs
This can be easily achieved by adding the exact same code to the
custom_payload field. Here is how it looks for a new campaign:
"name": "Test Campaign",
"body": "How's it going?"
Incrementing the badge value
iOS allows you to set a specific value for the badge count (e.g. 0, 3, 99), but doesn’t provide any mechanics to automatically increment or decrement the value displayed on your app icon when a notification is received.
You could handle that issue by saving remotely the most recent value of the badge for each install, and reset it once the app is opened. We usually recommend against it as the badge may be reset while the device is offline.