Enable Web Notifications

Description

This is a function call to enable push notifications in your web app when the user allows it.

Note: Catalyst Push Notifications feature is not available to Catalyst users accessing from the EU and IN data centers.

SDK code snippet


				catalyst.notification.enableNotification().then( //register for notifications
   resp=>{
                 catalyst.notification.messageHandler = msg => {
                 //write your own action
             }
       });