Firebase

Single access point to all firebase sdks from Kotlin.

Acts as a target for extension methods provided by sdks.

Properties

Link copied to clipboard

Returns the default firebase app instance.

Link copied to clipboard

Returns options of default FirebaseApp

Functions

Link copied to clipboard
actual fun Firebase.app(name: String): FirebaseApp
expect fun Firebase.app(name: String): FirebaseApp

Returns a named firebase app instance.

actual fun Firebase.app(name: String): FirebaseApp
actual fun Firebase.app(name: String): FirebaseApp
actual fun Firebase.app(name: String): FirebaseApp
Link copied to clipboard
actual fun Firebase.apps(context: Any?): List<FirebaseApp>
expect fun Firebase.apps(context: Any? = null): List<FirebaseApp>

Returns all firebase app instances.

actual fun Firebase.apps(context: Any?): List<FirebaseApp>
actual fun Firebase.apps(context: Any?): List<FirebaseApp>
actual fun Firebase.apps(context: Any?): List<FirebaseApp>
Link copied to clipboard
actual fun Firebase.initialize(context: Any?): FirebaseApp?
actual fun Firebase.initialize(context: Any?, options: FirebaseOptions): FirebaseApp
actual fun Firebase.initialize(context: Any?, options: FirebaseOptions, name: String): FirebaseApp
expect fun Firebase.initialize(context: Any? = null): FirebaseApp?
expect fun Firebase.initialize(context: Any? = null, options: FirebaseOptions): FirebaseApp
expect fun Firebase.initialize(context: Any? = null, options: FirebaseOptions, name: String): FirebaseApp

Initializes and returns a FirebaseApp.

actual fun Firebase.initialize(context: Any?): FirebaseApp?
actual fun Firebase.initialize(context: Any?, options: FirebaseOptions): FirebaseApp
actual fun Firebase.initialize(context: Any?, options: FirebaseOptions, name: String): FirebaseApp
actual fun Firebase.initialize(context: Any?): FirebaseApp?
actual fun Firebase.initialize(context: Any?, options: FirebaseOptions): FirebaseApp
actual fun Firebase.initialize(context: Any?, options: FirebaseOptions, name: String): FirebaseApp
actual fun Firebase.initialize(context: Any?): FirebaseApp?
actual fun Firebase.initialize(context: Any?, options: FirebaseOptions): FirebaseApp
actual fun Firebase.initialize(context: Any?, options: FirebaseOptions, name: String): FirebaseApp