FirebaseApp

actual class FirebaseApp(source)
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) keep the SDK's signatures through the Context stand-in: the platform's context on Android and the JVM, a placeholder that is ignored on the other platforms.

actual class FirebaseApp(source)
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
actual object Companion

Properties

Link copied to clipboard
val ios: <Error class: unknown class>

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
actual val name: String
expect val name: String

The unique name of this app.

actual val name: String
actual val name: String
actual val name: String
Link copied to clipboard

The options this app was configured with.

Functions

Link copied to clipboard
actual fun delete()
actual fun delete()
expect fun delete()

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

actual fun delete()
actual fun delete()
actual fun delete()
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

A placeholder: Apple platforms have no application context.

The application context on Android and the JVM; a placeholder Context on the other platforms, which have none.

A placeholder: JS has no application context.

A placeholder: JS has no application context.

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

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