Go to console

A reference to a Firebase Android app.

Do not call this constructor directly. Instead, use projectManagement.androidApp().

Index

Properties

appId

appId: string

Methods

addShaCertificate

  • Adds the given SHA certificate to this Android app.

    Parameters

    Returns Promise<void>

    A promise that resolves when the given certificate has been added to the Android app.

deleteShaCertificate

  • deleteShaCertificate(certificateToRemove: ShaCertificate): Promise<void>
  • Deletes the specified SHA certificate from this Android app.

    Parameters

    Returns Promise<void>

    A promise that resolves when the specified certificate has been removed from the Android app.

getConfig

  • getConfig(): Promise<string>
  • Gets the configuration artifact associated with this app.

    Returns Promise<string>

    A promise that resolves to the Android app's Firebase config file, in UTF-8 string format. This string is typically intended to be written to a JSON file that gets shipped with your Android app.

getMetadata

  • Retrieves metadata about this Android app.