Show unread release count on widget launcher
Now, you can show the count of unread releases on the widget launcher.
Steps to follow:
The unread count is shown when you pass the user identifier to the
userId
variable in the widget embed script.If you are embedding the ARN widget in your application where the user needs to log in, you can simply pass an identifier for the logged-in user to the
userId
variable in the widget embed script.This will automatically show the count of unread releases on the widget launcher which is specific to that user.
The count is populated based on the last time the widget was opened by the user and no of releases published on the widget since that date.
Currently, this feature is only available for the floating widgets. The widget launcher should be enabled for the floating type of the widget.
Check this screenshot for a better understanding.
This is taken at https://codepen.io/pen to show both the embed script and widget launcher.
The unread Release notescount is also shown within the app screen. If you click on the count, it opens the widget.