unregisterHandler

fun unregisterHandler(unregisterAllTokens: Boolean = false, handler: PushRequestCompleteHandler?)

Unregisters push handler for not receiving FCM/HMS push notifications. When you call this we will request at the server to remove FCM/HMS push token. And you'll not be able to receive any more push notification

Since

4.17.0

Parameters

unregisterAllTokens

if set as true unregisters all push token bound to the current user. Defaults to false.

handler

Callback handler. (PushRequestCompleteHandler)