Use the notification tag to replace old notifications with new ones. Allows you to show only up-to-date information to your users or collapse multiple notifications into a single one.
This code shows how to manage a queue of notifications so that previous notifications can be discarded or merged into a single notification.
Has it been useful?
Tell us what you think of this recipe by leaving a comment!