AppMetadata interface Stay organized with collections Save and categorize content based on your preferences.
Metadata about a Firebase app.
Signature:
exportinterfaceAppMetadataProperties
| Property | Type | Description |
|---|---|---|
| appId | string | The globally unique, Firebase-assigned identifier of the app. |
| displayName | string | The optional user-assigned display name of the app. |
| platform | AppPlatform | The development platform of the app. Supporting Android and iOS app platforms. |
| projectId | string | The globally unique, user-assigned ID of the parent project for the app. |
| resourceName | string | The fully-qualified resource name that identifies this app.This is useful when manually constructing requests for Firebase's public API. |
AppMetadata.appId
The globally unique, Firebase-assigned identifier of the app.
Signature:
appId:string;Example
varappId=appMetadata.appId;AppMetadata.displayName
The optional user-assigned display name of the app.
Signature:
displayName?:string;Example
vardisplayName=appMetadata.displayName;AppMetadata.platform
The development platform of the app. Supporting Android and iOS app platforms.
Signature:
platform:AppPlatform;Example
varplatform=AppPlatform.ANDROID;AppMetadata.projectId
The globally unique, user-assigned ID of the parent project for the app.
Signature:
projectId:string;Example
varprojectId=appMetadata.projectId;AppMetadata.resourceName
The fully-qualified resource name that identifies this app.
This is useful when manually constructing requests for Firebase's public API.
Signature:
resourceName:string;Example
varresourceName=androidAppMetadata.resourceName;Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2022-07-29 UTC.