Skip to content

Notification Feed Subscription not being triggered by ActivityMarker().allSeen().allRead() #193

Open
@ObserverMoment

Description

@ObserverMoment

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions