Property

appId

non-null string

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

Example

var appId = iosApp.appId;

Methods

getConfig

getConfig() returns Promise containing string

Gets the configuration artifact associated with this app.

Returns

non-null Promise containing string A promise that resolves to the iOS app's Firebase config file, in UTF-8 string format. This string is typically intended to be written to a plist file that gets shipped with your iOS app.

getMetadata

getMetadata() returns Promise containing admin.projectManagement.IosAppMetadata

Retrieves metadata about this iOS app.

Returns

non-null Promise containing admin.projectManagement.IosAppMetadata A promise that resolves to the retrieved metadata about this iOS app.

setDisplayName

setDisplayName(newDisplayName) returns Promise containing void

Sets the optional user-assigned display name of the app.

Parameter

newDisplayName

string

The new display name to set.

Value must not be null.

Returns

non-null Promise containing void A promise that resolves when the display name has been set.