FirebaseOptions

actual class FirebaseOptions(source)

Configurable Firebase options, mirroring com.google.firebase.FirebaseOptions from the Firebase Android SDK. fromResource takes an Android Context and can only be called from Android code: from common code it fails to compile with a message naming the replacement, Firebase.fromResource.

actual class FirebaseOptions(source)
expect class FirebaseOptions(source)

Configurable Firebase options, mirroring com.google.firebase.FirebaseOptions from the Firebase Android SDK. fromResource takes an Android Context and can only be called from Android code: from common code it fails to compile with a message naming the replacement, Firebase.fromResource.

actual class FirebaseOptions(source)
actual class FirebaseOptions(source)

Types

Link copied to clipboard
actual class Builder

Builder for constructing FirebaseOptions.

actual class Builder

Builder for constructing FirebaseOptions.

expect class Builder

Builder for constructing FirebaseOptions.

actual class Builder

Builder for constructing FirebaseOptions.

actual class Builder

Builder for constructing FirebaseOptions.

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

Properties

Link copied to clipboard
actual val apiKey: String

API key used for authenticating requests from your app.

actual val apiKey: String

API key used for authenticating requests from your app.

expect val apiKey: String

API key used for authenticating requests from your app.

actual val apiKey: String

API key used for authenticating requests from your app.

actual val apiKey: String

API key used for authenticating requests from your app.

Link copied to clipboard
actual val applicationId: String

The Google App ID that is used to uniquely identify an instance of an app.

actual val applicationId: String

The Google App ID that is used to uniquely identify an instance of an app.

expect val applicationId: String

The Google App ID that is used to uniquely identify an instance of an app.

actual val applicationId: String

The Google App ID that is used to uniquely identify an instance of an app.

actual val applicationId: String

The Google App ID that is used to uniquely identify an instance of an app.

Link copied to clipboard

The auth domain (JS only).

The auth domain (JS only).

Link copied to clipboard
actual val databaseUrl: String?

The database root URL, e.g. http://abc-xyz-123.firebaseio.com.

actual val databaseUrl: String?

The database root URL, e.g. http://abc-xyz-123.firebaseio.com.

expect val databaseUrl: String?

The database root URL, e.g. http://abc-xyz-123.firebaseio.com.

actual val databaseUrl: String?

The database root URL, e.g. http://abc-xyz-123.firebaseio.com.

actual val databaseUrl: String?

The database root URL, e.g. http://abc-xyz-123.firebaseio.com.

Link copied to clipboard
actual val gaTrackingId: String?

The tracking ID for Google Analytics. Always null on Apple platforms, where firebase-ios-sdk 12 removed FIROptions.trackingID.

actual val gaTrackingId: String?

The tracking ID for Google Analytics. Always null on Apple platforms, where firebase-ios-sdk 12 removed FIROptions.trackingID.

expect val gaTrackingId: String?

The tracking ID for Google Analytics. Always null on Apple platforms, where firebase-ios-sdk 12 removed FIROptions.trackingID.

actual val gaTrackingId: String?

The tracking ID for Google Analytics. Always null on Apple platforms, where firebase-ios-sdk 12 removed FIROptions.trackingID.

actual val gaTrackingId: String?

The tracking ID for Google Analytics. Always null on Apple platforms, where firebase-ios-sdk 12 removed FIROptions.trackingID.

Link copied to clipboard
actual val gcmSenderId: String?

The Project Number from the Google Developer's console, used to configure Google Cloud Messaging.

actual val gcmSenderId: String?

The Project Number from the Google Developer's console, used to configure Google Cloud Messaging.

expect val gcmSenderId: String?

The Project Number from the Google Developer's console, used to configure Google Cloud Messaging.

actual val gcmSenderId: String?

The Project Number from the Google Developer's console, used to configure Google Cloud Messaging.

actual val gcmSenderId: String?

The Project Number from the Google Developer's console, used to configure Google Cloud Messaging.

Link copied to clipboard
val ios: FIROptions

The underlying Firebase iOS SDK object.

Link copied to clipboard
actual val projectId: String?

The Google Cloud project ID.

actual val projectId: String?

The Google Cloud project ID.

expect val projectId: String?

The Google Cloud project ID.

actual val projectId: String?

The Google Cloud project ID.

actual val projectId: String?

The Google Cloud project ID.

Link copied to clipboard
actual val storageBucket: String?

The Google Cloud Storage bucket name.

actual val storageBucket: String?

The Google Cloud Storage bucket name.

expect val storageBucket: String?

The Google Cloud Storage bucket name.

actual val storageBucket: String?

The Google Cloud Storage bucket name.

actual val storageBucket: String?

The Google Cloud Storage bucket name.

Functions

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