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