Skip to main content

FirebaseCrash

This plugin brings crash reporting from Google Firebase to your Cordova project! Android and iOS supported.

https://github.com/chemerisuk/cordova-plugin-firebase-crash

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-crash
$ npm install @ionic-native/firebase-crash
$ ionic cap sync

Supported Platforms#

  • Android
  • iOS

Usage#

React#

Learn more about using Ionic Native components in React

Angular#

import { FirebaseCrash } from '@ionic-native/firebase-crash';
constructor(private firebaseCrash: FirebaseCrash) { }
...
this.firebaseCrash.setUserId('123456789');
this.firebaseCrash.log('message');
this.firebaseCrash.logError('non fatal exception');