Push Notifications
Catalyst Cloud Scale 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 a Component Instance
A component instance is an object that can be used to access the pre-defined configurations specific to a particular component. This process will not fire a server-side call.
The app reference used in the code below is the Python object returned as a response during SDK initialization. You can create a new push_notification_serviceinstance as shown below. We will refer to this component instance while sending push notifications from your Catalyst application.
copy#Get push notification instance push_notification_service = app.push_notification()
Last Updated 2024-01-04 12:37:42 +0530 +0530
Yes
No
Send your feedback to us