NovuN
Novu14mo ago
Shri

novu.subscribers.getUnseenCount(<subscriber>, false) always returns 0

Hey folks,
I found an issue where the novu.subscribers.getUnseenCount method always returns zero in the response when set to false even if there are unseen in-app notifications for the subscriber.
data: { data: { count: 0 } }


Alternatively running the same query with true shows the correct number of already read messages for the subscriber.
data: { data: { count: 89 } }


This bug is preventing me from setting the correct number of notifications in the badge for the app after triggering an in-app notification + a push notification with the unread count.
Was this page helpful?