Appboy SDK iOS, the unreadCardCountForCategories delegate doesn't gives count for an updated card

203 Views Asked by At

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 !!

1

There are 1 best solutions below

1
On

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 from unreadCardCountForCategories 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.