To receive messages in the background or in the killed state, kindly register for remote notification by conforming to the following delegates in the AppDelegate
Call the below methods when an APNS token gets updated.
In order to access data between app and notification extension, enabling app group is mandatory to access user defaults and database in container.
So re-initialize the ChatSDK builder in
didReceive method of the
To know more about ChatSDK Builder click
In class that extends the
UNNotificationServiceExtension after validating whether the received payload is for Chat or not, call the below method
to process the request further.
|NOTIFICATION_CONTENT||Notification request content|