Package-level declarations

Types

Link copied to clipboard
external interface Installations : JsAny

Functions

Link copied to clipboard
external fun delete(installations: Installations): Promise<JsAny?>
Link copied to clipboard
external fun getId(installations: Installations): Promise<JsString>
Link copied to clipboard
external fun getInstallations(app: FirebaseApp? = definedExternally): Installations
Link copied to clipboard
external fun getToken(installations: Installations, forceRefresh: Boolean): Promise<JsString>
Link copied to clipboard
external fun onIdChange(installations: Installations, callback: (JsString) -> Unit): () -> Unit

Calls callback with the new installation id whenever it changes; the returned function unsubscribes.