You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using Notifications with threshold, I can't get current notification count (I want to display it on the threshold notification) :
Notifications.create()
.title("Title")
.text("Content")
.threshold(5, Notifications.create()
.title("Title (9 more)") // I want to get the current notification count so I can display something like "9 more"
.text("Content")
);
The text was updated successfully, but these errors were encountered:
@abhinayagarwal When setting threshold on Notifications, after reaching the threshold, I want to inform the user about how many notifications are currently folded, which offers better user experience than just telling user there are some notifications folded. Here is a working example:
I set threshold to 3, and when 5 notifications came in rapid sequence, the folded notification should show text like "5+" to inform the user that there are currently 5 notifications folded. To achieve this, I need a Notifications.getNotificationCount method.
When using Notifications with threshold, I can't get current notification count (I want to display it on the threshold notification) :
The text was updated successfully, but these errors were encountered: