I have integrated the Appboy News feed in my iOS application. I fetch the badge count for the unread number of cards through the unreadCardCountForCategories delegate provided by the SDK. But the count returned by the delegate doesn't refresh if I update an already existing (read/unread) card from the Appboy dashboard. Here is the code I use:
[[Appboy sharedInstance] requestFeedRefresh];
[[AppBoyHandler appboySharedInstance].feedController unreadCardCountForCategories:ABKCardCategoryAll]];
Any help is appreciated !!
Appboy marks unread feed cards as read when a user views the card in the application's News Feed. If you aren't interacting with the News Feed and viewing previously unread cards in between calls to
requestFeedRefresh
, the count returned fromunreadCardCountForCategories
is expected to return the same value.Please let us know if the above isn't the case, and you're seeing
unreadCardCountForCategories
returning the same value, even after viewing previously unread cards on the News Feed.