report_url:
appkey
user_str
baseUrl
webSocketUrl
Apply
MTpush-P example.
RegistrationID:
Browser Notification Permissions::
Custom
Set up event listeners
initialization
Get RegistrationID
stop push
Check push service status
Browser Notification Permissions
Tips: sw.min.1.0.0.js (version number is modified according to the actual situation) Please put it in the root directory of the website, because the service sw.xx.js file can only take over the pages under the directory
Example:{"tags":["test1","test2"],"alias":"swefgwwefwfwfwf"}
set tag or alias