FirebaseApp

actual class FirebaseApp(source)

The entry point of Firebase SDKs, mirroring com.google.firebase.FirebaseApp from the Firebase Android SDK.

The members taking or returning an Android Context (initializeApp, getApps and getApplicationContext) can only be called from Android code: from common code they fail to compile with a message naming the replacement (Firebase.initialize(context) and Firebase.getApps(context)).

actual class FirebaseApp(source)
expect class FirebaseApp(source)

The entry point of Firebase SDKs, mirroring com.google.firebase.FirebaseApp from the Firebase Android SDK.

The members taking or returning an Android Context (initializeApp, getApps and getApplicationContext) can only be called from Android code: from common code they fail to compile with a message naming the replacement (Firebase.initialize(context) and Firebase.getApps(context)).

actual class FirebaseApp(source)
actual class FirebaseApp(source)

Types

Link copied to clipboard
actual object Companion
actual object Companion
expect object Companion
actual object Companion
actual object Companion

Properties

Link copied to clipboard
val ios: FIRApp

The underlying Firebase iOS SDK object.

Link copied to clipboard

The underlying Firebase JS SDK object.

The underlying Firebase JS SDK object.

Link copied to clipboard
actual val name: String

The unique name of this app.

actual val name: String

The unique name of this app.

expect val name: String

The unique name of this app.

actual val name: String

The unique name of this app.

actual val name: String

The unique name of this app.

Link copied to clipboard

The options this app was configured with.

The options this app was configured with.

The options this app was configured with.

The options this app was configured with.

The options this app was configured with.

Functions

Link copied to clipboard
actual fun delete()

Deletes this app and frees its resources. A no-op if the app was already deleted.

actual fun delete()

Deletes this app and frees its resources. A no-op if the app was already deleted.

expect fun delete()

Deletes this app and frees its resources. A no-op if the app was already deleted.

actual fun delete()

Deletes this app and frees its resources. A no-op if the app was already deleted.

actual fun delete()

Deletes this app and frees its resources. A no-op if the app was already deleted.

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
open operator override fun equals(other: Any?): Boolean
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard

Android only: the application context this app was initialized with.

Android only: the application context this app was initialized with.

Android only: the application context this app was initialized with.

Android only: the application context this app was initialized with.

Android only: the application context this app was initialized with.

Link copied to clipboard
open override fun hashCode(): Int
open override fun hashCode(): Int
open override fun hashCode(): Int
Link copied to clipboard

On Android, lets the SDK release resources while the app is in the background and reacquire them when it returns to the foreground. The other platforms have no equivalent, so this is a no-op there.

No-op: automatic resource management is an Android-only behaviour.

On Android, lets the SDK release resources while the app is in the background and reacquire them when it returns to the foreground. The other platforms have no equivalent, so this is a no-op there.

No-op: automatic resource management is an Android-only behaviour.

No-op: automatic resource management is an Android-only behaviour.

Link copied to clipboard
open override fun toString(): String
open override fun toString(): String
open override fun toString(): String