voluptasmollitia
Version:
Monorepo for the Firebase JavaScript SDK
32 lines (21 loc) • 1.65 kB
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@firebase/installations](./installations.md)
## installations package
Firebase Installations
## Functions
| Function | Description |
| --- | --- |
| [deleteInstallations(installations)](./installations.deleteinstallations.md) | Deletes the Firebase Installation and all associated data. |
| [getId(installations)](./installations.getid.md) | Creates a Firebase Installation if there isn't one for the app and returns the Installation ID. |
| [getInstallations(app)](./installations.getinstallations.md) | Returns an instance of FirebaseInstallations associated with the given FirebaseApp instance. |
| [getToken(installations, forceRefresh)](./installations.gettoken.md) | Returns an Installation auth token, identifying the current Firebase Installation. |
| [onIdChange(installations, callback)](./installations.onidchange.md) | Sets a new callback that will get called when Installation ID changes. Returns an unsubscribe function that will remove the callback when called. |
## Interfaces
| Interface | Description |
| --- | --- |
| [FirebaseInstallations](./installations.firebaseinstallations.md) | Public interface of the FirebaseInstallations SDK. |
## Type Aliases
| Type Alias | Description |
| --- | --- |
| [IdChangeCallbackFn](./installations.idchangecallbackfn.md) | An user defined callback function that gets called when Installations ID changes. |
| [IdChangeUnsubscribeFn](./installations.idchangeunsubscribefn.md) | Unsubscribe a callback function previously added via . |