Open
Description
Hi,
Is there a way to be able to be able to receive real-time updates when a user marks all their notifications as seen / read?
I am getting unseen counts to display an indicator via
final counts = await _notificationFeed.getUnreadUnseenCounts()
Then subscribing to the notification feed via
_feedSubscription =
await _notificationFeed.subscribe(_handleSubscriptionMessage);
When the user opens their notifications list I run this
final feedActivities = await _notificationFeed
.getEnrichedActivities<User, dynamic, String, String>(
limit: _postsPerPage,
offset: offset,
marker: ActivityMarker().allSeen().allRead());
However, the subscription is not triggered and so the indicator does not update correctly.
Can you advise how this should be achieved please?
Thanks,
Rich