Use the Live Notification Feature
The live notification feature allows you to send alerts to users when a live broadcast begins, encouraging them to join the live session.
This document explains how to implement the live notification feature within the showroom.
Prerequisites
To use the live notification feature, complete the following steps:
Member Authentication
- In the showroom, you can either set a token issued after user authentication using Member Token Settingsor use Easy Authentication to issue and set a token directly in the showroom using your own user information.
- The member token set in the showroom will also be passed when navigating to the live player.
(If you're navigating to the live player using the Live Player Bridge, you must set the token manually.)
Implement Notification On/Off Bridge Event
- Refer to the Showroom Bridge Guidend implement the Turn On/Off Notification event
Enable Notification Feature
Go to Admin > Showroom > Showroom Settings > Theme Settings > Live Teaser, and set the 'Notification Feature' to 'Enabled'.
Conditions for Notification Button Display
When the live notification feature is enabled, a notification button appears on live teaser cards within Upcoming Live and Calendar content.
Notification Button Workflow
STEP 1. When the notification button is clicked, if the user is logged in, the Notification On/Off Bridge Event is triggered. If not logged in, a login modal is displayed.
STEP 2. After receiving the bridge event in your client, your system should handle the actual notification subscribe/unsubscribe logic.
STEP 3. Once your system successfully completes the subscription/unsubscription, you must send a Callback Bridge Eventback to the showroom.
STEP 4. After sending the On/Off event, the showroom waits for a limited time for the callback bridge event.
STEP 5. When the callback is received, the showroom updates the subscriber list managed by Mobidoo and updates the notification button status to reflect the change.
Member Login Modal
If the user is not logged in, clicking the notification button will display the login modal. When the login button is clicked, the Member Login Bridge Event is triggered.
Updated 13 days ago