The Push client exposes an API to register/deregister for push notifications from a client app.
public class PushClient
Methods| Improve this Doc View Source
Deregister the user's device from Firebase Cloud Messaging.
public Task DeregisterDeviceAsync()
An awaitable Task representing the remote operation. Successful completion indicates that the devices registration token was removed from the MongoDB Realm server and it will no longer receive push notifications.
Registers the given Firebase Cloud Messaging registration token with the user's device on MongoDB Realm.
public Task RegisterDeviceAsync(string token)
The FCM registration token.
An awaitable Task representing the remote operation. Successful completion indicates that the registration token was registered by the MongoDB Realm server and this device can now receive push notifications.