1.0.2 • Published 6 years ago
cordova-plugin-firebase-crash-ka v1.0.2
Cordova plugin for Firebase Crashlytics
![]() | Your help is appreciated. Create a PR, submit a bug or just grab me :beer: |
|---|
Index
Supported Platforms
- iOS
- Android
Installation
$ cordova plugin add cordova-plugin-firebase-crashIf you get an error about CocoaPods being unable to find compatible versions, run
$ pod repo updateUse 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");