Package-level declarations

Types

Link copied to clipboard
object Firebase

Single access point to all firebase sdks from Kotlin.

Link copied to clipboard
actual typealias FirebaseApiNotAvailableException = com.google.firebase.FirebaseApiNotAvailableException

Exception that gets thrown when an operation on Firebase fails.

actual typealias FirebaseApiNotAvailableException = com.google.firebase.FirebaseApiNotAvailableException
Link copied to clipboard
actual data class FirebaseApp
expect class FirebaseApp

The entry point of Firebase SDKs. It holds common configuration and state for Firebase APIs. Most applications don't need to directly interact with FirebaseApp.

actual data class FirebaseApp
actual class FirebaseApp
actual data class FirebaseApp
Link copied to clipboard
actual typealias FirebaseException = com.google.firebase.FirebaseException
expect open class FirebaseException : Exception

Exception that gets thrown when an operation on Firebase fails.

actual open class FirebaseException : Exception
actual open class FirebaseException : Exception
actual typealias FirebaseException = com.google.firebase.FirebaseException
Link copied to clipboard
actual typealias FirebaseNetworkException = com.google.firebase.FirebaseNetworkException

Exception that gets thrown when an operation on Firebase fails.

actual typealias FirebaseNetworkException = com.google.firebase.FirebaseNetworkException
Link copied to clipboard
data class FirebaseOptions(val applicationId: String, val apiKey: String, val databaseUrl: String? = null, val gaTrackingId: String? = null, val storageBucket: String? = null, val projectId: String? = null, val gcmSenderId: String? = null, val authDomain: String? = null)

Configurable Firebase options.

Link copied to clipboard
actual typealias FirebaseTooManyRequestsException = com.google.firebase.FirebaseTooManyRequestsException

Exception that gets thrown when an operation on Firebase fails.

actual typealias FirebaseTooManyRequestsException = com.google.firebase.FirebaseTooManyRequestsException

Properties

Link copied to clipboard
val FirebaseApp.android: FirebaseApp
val FirebaseApp.android: FirebaseApp
Link copied to clipboard

Returns the default firebase app instance.

Link copied to clipboard
val FirebaseApp.ios: FIRApp
Link copied to clipboard
val FirebaseApp.js: FirebaseApp
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