Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

crashlytics ionic 3

// 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');
Source by ionicframework.com #
 
PREVIOUS NEXT
Tagged: #crashlytics #ionic
ADD COMMENT
Topic
Name
2+7 =