Skip to content

@capgo/capacitor-firebase-crashlytics

Capacitor plugin for Firebase Crashlytics.

Capacitor plugin for Firebase Crashlytics.

  • 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.
MethodDescription
crashForces a crash to test the implementation.
setCustomKeySets a custom key and value that is associated with subsequent fatal and non-fatal reports.
setUserIdSets a user ID (identifier) that is associated with subsequent fatal and non-fatal reports.
logAdds a custom log message that is sent with your crash data to give yourself more context for the events leading up to a crash.
setEnabledEnables/disables automatic data collection. The value does not apply until the next run of the app.
isEnabledReturns whether automatic data collection is enabled.
didCrashOnPreviousExecutionReturns whether the app crashed during the previous execution.
sendUnsentReportsUploads any unsent reports to Crashlytics at next startup.
deleteUnsentReportsDeletes any unsent reports on the device.
recordExceptionRecords a non-fatal report to send to Crashlytics.
getPluginVersionGet the version of this plugin.

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.