com.google.firebase.crashlytics

Classes

CustomKeysAndValues

Helper class which handles the storage and conversion to strings of key/value pairs with heterogeneous value types.

CustomKeysAndValues.Builder
FirebaseCrashlytics

The Firebase Crashlytics API provides methods to annotate and manage fatal crashes, non-fatal errors, and ANRs captured and reported to Firebase Crashlytics.

KeyValueBuilder

Helper class to enable convenient syntax insetCustomKeys andrecordException

Extension functions summary

Unit
FirebaseCrashlytics.recordException(
    throwable: Throwable,
    init: KeyValueBuilder.()->Unit
)

Records a non-fatal report to send to Crashlytics with additional custom keys

Unit

Associates all key-value parameters with the reports

Extension properties summary

Extension functions

recordException

fun FirebaseCrashlytics.recordException(
    throwable: Throwable,
    init: KeyValueBuilder.()->Unit
): Unit

Records a non-fatal report to send to Crashlytics with additional custom keys

setCustomKeys

fun FirebaseCrashlytics.setCustomKeys(init: KeyValueBuilder.()->Unit): Unit

Associates all key-value parameters with the reports

Extension properties

crashlytics

val Firebase.crashlyticsFirebaseCrashlytics

Returns theFirebaseCrashlytics instance of the defaultFirebaseApp.

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-07-21 UTC.