Skip to main content

Firebase Crashlytics

A Google Firebase Crashlytics plugin to enable capture of crash reports.

https://github.com/ReallySmallSoftware/cordova-plugin-firebase-crashlytics

Stuck on a Cordova issue?

Don't waste precious time on plugin issues.

If you're building a serious project, you can't afford to spend hours troubleshooting. Ionic’s experts offer premium advisory services for both community plugins and premier plugins.

Installation#

$ npm install cordova-plugin-firebase-crashlytics
$ npm install @ionic-native/firebase-crashlytics
$ ionic cap sync

Supported Platforms#

  • Android
  • iOS

Usage#

React#

Learn more about using Ionic Native components in React

Angular#

import { FirebaseCrashlytics } from '@ionic-native/firebase-crashlytics/ngx';
constructor(private firebaseCrashlytics: FirebaseCrashlytics) { }
...
const crashlytics = this.firebaseCrashlytics.initialise();
crashlytics.logException('my caught exception');