AppMetadata interface

Metadata about a Firebase app.

Signature:

exportinterfaceAppMetadata

Properties

PropertyTypeDescription
appIdstringThe globally unique, Firebase-assigned identifier of the app.
displayNamestringThe optional user-assigned display name of the app.
platformAppPlatformThe development platform of the app. Supporting Android and iOS app platforms.
projectIdstringThe globally unique, user-assigned ID of the parent project for the app.
resourceNamestringThe 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.