FirebaseCrashlyticsKt

public final class FirebaseCrashlyticsKt


Summary

Public fields

final @NonNull FirebaseCrashlytics

Accessing this object for Kotlin apps has changed; see the migration guide.

Public methods

static final void

This method is deprecated. Migrate to use the KTX API from the main module: https://firebase.google.com/docs/android/kotlin-migration.

Public fields

crashlytics

public final @NonNull FirebaseCrashlytics crashlytics

Accessing this object for Kotlin apps has changed; see the migration guide.

Returns the FirebaseCrashlytics instance of the default FirebaseApp.

Deprecation Notice: The Kotlin extensions (KTX) APIs have been added to their respective main modules, and the Kotlin extension (KTX) APIs in com.google.firebase:firebase-crashlytics-ktx are now deprecated. As early as April 2024, we'll no longer release KTX modules. For details, see the FAQ about this initiative.

Public methods

FirebaseCrashlyticsKt.setCustomKeys

public static final void FirebaseCrashlyticsKt.setCustomKeys(
    @NonNull FirebaseCrashlytics receiver,
    @ExtensionFunctionType @NonNull Function1<@NonNull KeyValueBuilderUnit> init
)

Associates all key-value parameters with the reports

Deprecation Notice: The Kotlin extensions (KTX) APIs have been added to their respective main modules, and the Kotlin extension (KTX) APIs in com.google.firebase:firebase-crashlytics-ktx are now deprecated. As early as April 2024, we'll no longer release KTX modules. For details, see the FAQ about this initiative.