© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
NovuN
Novu•16mo ago•
3 replies
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 } }
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 } }
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.
Novu banner
NovuJoin
Open Source Notification Infrastructure Community by Novu
4,169Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

subscriber.isOnline in novu framework
NovuNNovu / 💬│support
10mo ago
Novu Subscribers page Mongo query issue
NovuNNovu / 💬│support
4y ago
Novu Sync returns a 500
NovuNNovu / 💬│support
14mo ago