registerHandler

Registers push handler for receiving FCM/HMS push notifications. To enable push notification and get a token, refer to Sendbird Docs.

When you call this we will register FCM/HMS push token, depending on the type of the handler, to server automatically. And you'll start receiving Push from handler (SendbirdPushHandler.onMessageReceived)

Since

4.17.0

Parameters

handler

All FCM/HMS push messages can receive from this handler. SendbirdPushHandler for FCM, SendbirdHmsPushHandler for HMS.