FirebaseCrashlytics
The Firebase Crashlytics API provides methods to annotate and manage fatal crashes, non-fatal errors, and ANRs captured and reported to Firebase Crashlytics.
By default, Firebase Crashlytics is automatically initialized.
Call Firebase.crashlytics to get the singleton instance of FirebaseCrashlytics.
Properties
The underlying Firebase Android SDK object.
The Android-SDK-shaped com.google.firebase.crashlytics.FirebaseCrashlytics this wraps.
The underlying Firebase iOS SDK object.
Functions
If automatic data collection is disabled, this method queues up all the reports on a device for deletion. Otherwise, this method is a no-op.
Checks whether the app crashed on its previous run.
Records a non-fatal report to send to Crashlytics, with the exception's class, message and stack trace. On Apple platforms the stack frames are reported as code addresses of the Kotlin framework, which Crashlytics symbolicates from its dSYM; see Crashlytics on iOS in the README.
Records a non-fatal report to send to Crashlytics.
If automatic data collection is disabled, this method queues up all the reports on a device to send to Crashlytics. Otherwise, this method is a no-op.
Enables or disables the automatic data collection configuration for Crashlytics.
See setCustomKey.
Sets a custom key and value that are associated with subsequent fatal, non-fatal, and ANR reports.
Sets multiple custom keys and values that are associated with subsequent fatal, non-fatal, and ANR reports. This method is intended as an alternative to setCustomKey in order to reduce the computational load of writing out multiple key/value pairs at the same time.