cordova-plugin-firebase-crash-ka

1.0.2 • Public • Published

Cordova plugin for Firebase Crashlytics

NPM version NPM downloads Twitter

Donate Your help is appreciated. Create a PR, submit a bug or just grab me 🍺

Index

Supported Platforms

  • iOS
  • Android

Installation

$ cordova plugin add cordova-plugin-firebase-crash

If you get an error about CocoaPods being unable to find compatible versions, run

$ pod repo update

Use variable FIREBASE_CORE_VERSION to override dependency version on Android.

Methods

Every method returns a promise that fulfills when a call was successful.

log(message)

Add logging that will be sent with your crash data in case of app crash. Compare Firebase documentation.

cordova.plugins.firebase.crashlytics.log("my custom log message");

logError(message)

Log non-fatal exceptions in addition to automatically reported app crashes. Compare Firebase documentation.

cordova.plugins.firebase.crashlytics.logError("my non-fatal exception message");

setUserId(userId)

Sets the user identifier property for crashlytics reporting. Compare Firebase documentation.

cordova.plugins.firebase.crashlytics.setUserId("12345");

Package Sidebar

Install

npm i cordova-plugin-firebase-crash-ka

Weekly Downloads

5

Version

1.0.2

License

MIT

Unpacked Size

15.5 kB

Total Files

13

Last publish

Collaborators

  • kanodeveloper