subscribe With Mobile Notifications
Subscribes to a given NotificationEvent on the current data node path, to be received through the FCM (Firebase Cloud Messaging) push mobile notifications sent to a given deviceId. This operation requires to be authenticated.
Parameters
The device identifier where to send the notifications (to be retrieved using the FCM libraries)
The subscribed event.
If true
(default value) the revocation of the subscription by the server will also be sent to the device through a push mobile notification.
If set, the subscription will automatically cancel at the given date, otherwise it will be revoked by the server after the default delay set in the Webcom developer console.
The callback called when the subscription is acknowledged by the server.
Subscribes to a given set of NotificationEvents on the current data node path, to be received through the FCM (Firebase Cloud Messaging) push mobile notifications sent to a given deviceId. This operation requires to be authenticated.
Parameters
The device identifier where to send the notifications (to be retrieved using the FCM libraries)
The list of subscribed events.
If true
(default value) the revocation of the subscription by the server will also be sent to the device through a push mobile notification.
If set, the subscription will automatically cancel at the given date, otherwise it will be revoked by the server after the default delay set in the Webcom developer console.
The callback called when the subscription is acknowledged by the server.