WebPush Production Demo

Download the latest SDK from the EngageLab console.

Please register at https://www.engagelab.com, create an app, then in "Integration Settings" save the current domain https://webpush-demo.engagelab.com before testing push on this page.

Required Parameters

Get it from App Info (replace with your own AppKey for testing).
Used by SDK initialization to generate the RegistrationID.
Optional Parameters
Storage path for RegistrationID.
Whether MA support is enabled.
Tags / Alias

Push Message Display

SDK API Examples

Enter AppKey and user_str, then click this button to initialize.

Initialization info

After initialization succeeds

RegistrationID is available after initialization.
Click this after initialization to update category selection.
Only works when notification auth mode is custom and browser notification permission is still in the default state.
After calling this API, the backend will stop pushing to this user until they subscribe again.

Local Notification Test

Local notification payload example (Local notification permission → --)
{"body":"This is notification body","image":"/images/2.png","silent":true}

Check whether the browser supports notifications for testing. After integrating SDK and getting web notification permission, local notification permission will automatically follow web notification permission changes.