Badges
This reference article describes how to request the number of unread Content Cards for your web application.
Requesting unread Content Card counts
You can request the number of unread cards at any time by calling:
1
braze.getCachedContentCards().getUnviewedCardCount();
This is often used to power badges signifying how many unread Content Cards there are. See the JSDocsfor more information.