Index
Properties
Methods
Properties
app
The app associated with the Installations
service
instance.
Methods
delete
-
Deletes the Firebase Installation and all associated data.
Returns Promise<void>
getId
-
Creates a Firebase Installation if there isn't one for the app and returns the Installation ID.
Returns Promise<string>
Firebase Installation ID
getToken
-
Returns an Authentication Token for the current Firebase Installation.
Parameters
-
Optional forceRefresh: boolean
Returns Promise<string>
Firebase Installation Authentication Token
-
onIdChange
-
Sets a new callback that will get called when Installlation ID changes. Returns an unsubscribe function that will remove the callback when called.
Parameters
-
callback: (installationId: string) => void
-
-
Parameters
-
installationId: string
Returns void
-
-
-
Returns () => void
-
-
Returns void
-
-
The Firebase Installations service interface.
Do not call this constructor directly. Instead, use
firebase.installations()
.