@react-native-ohos/realm
Version:
Realm by MongoDB is an offline-first mobile database: an alternative to SQLite and key-value stores
18 lines • 734 B
TypeScript
/**
* Authentication provider where users identify using an API-key.
* @deprecated https://www.mongodb.com/docs/atlas/app-services/reference/push-notifications/
*/
export declare class PushClient {
/**
* Register this device with the user.
* @param token - A Firebase Cloud Messaging (FCM) token, retrieved via the firebase SDK.
* @returns A promise that resolves once the device has been registered.
*/
register(token: string): Promise<void>;
/**
* Deregister this device with the user, to disable sending messages to this device.
* @returns A promise that resolves once the device has been deregistered.
*/
deregister(): Promise<void>;
}
//# sourceMappingURL=PushClient.d.ts.map