V2
to start using the token-based version of the Push Notification extension.V1
and want to migrate your app to use V2
, then Select V1 & V2
option. This ensures that the users viewing the older version of your app also receive Push Notifications.V2
, thus turning off V1
(Topic-based) Push Notifications completely.deleteToken
on the messaging object.CustomMessage
, you need to set metadata while sending the CustomMessage
.
CometChat.CometChatHelper.processMessage()
to convert the message JSON to the corresponding object of TextMessage, MediaMessage,CustomMessage, Action or Call.
CometChatConstants.MESSAGE_TYPE_IMAGE
CometChatConstants.MESSAGE_TYPE_VIDEO
CometChatConstants.MESSAGE_TYPE_AUDIO
CometChatConstants.MESSAGE_TYPE_FILE
Key ID
, Team ID
and your Bundle ID
for saving in the Extension’s settings.