Metadata about a Firebase app.

Index

Properties

appId

appId: string

The globally unique, Firebase-assigned identifier of the app.

example
var appId = appMetadata.appId;

Optional displayName

displayName: string

The optional user-assigned display name of the app.

example
var displayName = appMetadata.displayName;

platform

platform: AppPlatform

The development platform of the app. Supporting Android and iOS app platforms.

example
var platform = AppPlatform.ANDROID;

projectId

projectId: string

The globally unique, user-assigned ID of the parent project for the app.

example
var projectId = appMetadata.projectId;

resourceName

resourceName: string

The fully-qualified resource name that identifies this app.

This is useful when manually constructing requests for Firebase's public API.

example
var resourceName = androidAppMetadata.resourceName;