@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.
Keep going from @capgo/capacitor-firebase-crashlytics
Section titled “Keep going from @capgo/capacitor-firebase-crashlytics”If you are using @capgo/capacitor-firebase-crashlytics to plan native plugin work, connect it with Capgo Plugin Directory for the product workflow in Capgo Plugin Directory, Capacitor Plugins by Capgo for the implementation detail in Capacitor Plugins by Capgo, Adding or Updating Plugins for the implementation detail in Adding or Updating Plugins, Ionic Enterprise Plugin Alternatives for the product workflow in Ionic Enterprise Plugin Alternatives, and Capgo Native Builds for the product workflow in Capgo Native Builds.