Notifications UIKit v1
Notifications
Version 1

Handle push notifications

Copy link

When receiving the payload of the push notification sent to the notification channel, the channel_type object can have the following values: messaging, group_messaging, notification_chat, and notification_feed. When the value is set to notification_chat, the push notification needs to be displayed in Chat view. When the value is set to notification_feed, the push notification needs to be displayed in Feed view. See the guide below on how to handle push notifications so that users can access either view of the notification channel upon tapping the push notification.


Feed view

Copy link

When receiving a push notification, you can find the FEED_CHANNEL_URL in the push notification payload. With the channel URL of the Feed notification channel, you can create an activity and a fragment. Refer to the Notification channel page.


Chat view

Copy link

When receiving a push notification, you can find the CHAT_NOTIFICATION_CHANNEL_URL in the push notification payload. With the channel URL of the Chat notification channel, you can create an activity and a fragment. Refer to the Notification channel page.

On this page