@capgo/capacitor-firebase-crashlytics
Capacitor plugin for Firebase Crashlytics.
Overview
Section titled “Overview”Capacitor plugin for Firebase Crashlytics.
Core Capabilities
Section titled “Core Capabilities”crash- Forces a crash to test the implementation.setCustomKey- Sets a custom key and value that is associated with subsequent fatal and non-fatal reports.setUserId- Sets a user ID (identifier) that is associated with subsequent fatal and non-fatal reports.log- Adds a custom log message that is sent with your crash data to give yourself more context for the events leading up to a crash.
Public API
Section titled “Public API”| Method | Description |
|---|---|
crash | Forces a crash to test the implementation. |
setCustomKey | Sets a custom key and value that is associated with subsequent fatal and non-fatal reports. |
setUserId | Sets a user ID (identifier) that is associated with subsequent fatal and non-fatal reports. |
log | Adds a custom log message that is sent with your crash data to give yourself more context for the events leading up to a crash. |
setEnabled | Enables/disables automatic data collection. The value does not apply until the next run of the app. |
isEnabled | Returns whether automatic data collection is enabled. |
didCrashOnPreviousExecution | Returns whether the app crashed during the previous execution. |
sendUnsentReports | Uploads any unsent reports to Crashlytics at next startup. |
deleteUnsentReports | Deletes any unsent reports on the device. |
recordException | Records a non-fatal report to send to Crashlytics. |
getPluginVersion | Get the version of this plugin. |
Source Of Truth
Section titled “Source Of Truth”This reference is synced from src/definitions.ts in capacitor-firebase.