registerPushHandler

Deprecated

As of 4.17.0, replaced with registerHandler(handler).

Replace with

SendbirdPushHelper.registerHandler(handler)

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)

Parameters

handler

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