voluptasmollitia
Version:
Monorepo for the Firebase JavaScript SDK
25 lines (14 loc) • 701 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@firebase/installations](./installations.md) > [getId](./installations.getid.md)
## getId() function
Creates a Firebase Installation if there isn't one for the app and returns the Installation ID.
<b>Signature:</b>
```typescript
export declare function getId(installations: FirebaseInstallations): Promise<string>;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| installations | [FirebaseInstallations](./installations.firebaseinstallations.md) | The <code>Installations</code> instance. |
<b>Returns:</b>
Promise<string>