0

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

d-_-b
  • 21,536
  • 40
  • 150
  • 256
Ghazalah
  • 233
  • 2
  • 14
  • @d-_-b Now that the [appboy] and [braze] tags are setup, it would have been better to make [appboy] an alias for [braze] instead of having both tags on all of the questions. – HangarRash Mar 13 '23 at 00:18
  • @HangarRash I don't have access to do that. Feel free to make those changes yourself. – d-_-b Mar 13 '23 at 13:29

1 Answers1

1

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.

Tiffany Lu
  • 11
  • 1
  • 1
    I am following the below cases and in both cases the unread count does not refresh: 1. Create a new news feed from dashboard< read it in the app – Ghazalah Jun 21 '16 at 10:01