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.

Important: In July 2025, we stopped releasing KTX modules and removed the KTX libraries from the Firebase Android BoM (v34.0.0). If you use KTX APIs from the KTX modules, we recommend that you migrate your app to use KTX APIs from the main modules instead. 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

Important: In July 2025, we stopped releasing KTX modules and removed the KTX libraries from the Firebase Android BoM (v34.0.0). If you use KTX APIs from the KTX modules, we recommend that you migrate your app to use KTX APIs from the main modules instead. For details, see the FAQ about this initiative.