Catalyst Push notifications enables you to send remote notifications to the users of your application, even when the app is not actively running on the user device. You can send push notifications to a specific list of target users. You can include alerts, updates, or promotional content for the user to engage with your application.
Before you send push notifications, you must enable it for your web app when the user allows it. You can do this by implementing this code snippet in your web client. You can also access this code from the Push Notifications section in your Catalyst remote console. You must ensure that you include the web initialization script.
Get Component Instance
You can create a pushNotification component reference as shown below. This will not fire a server-side call. We will refer to this component instance while sending push notifications.
//Get a pushNotification instance const pushNotification = app.pushNotification();
Last Updated 2023-09-03 01:06:41 +0530 +0530
Send your feedback to us