unsubscribeWithMobileNotifications

fun unsubscribeWithMobileNotifications(deviceId: String, callback: OnComplete? = null)

Unsubscribes from NotificationEvents on the current data node path, so that no longer FCM (Firebase Cloud Messaging) push mobile notifications are sent to the given deviceId. This operation requires to be authenticated.

Parameters

deviceId

The device identifier where to stop sending notifications (to be retrieved using the FCM libraries).

callback

The callback called when the unsubscription is acknowledged by the server.