cordova-plugin-firebase-crash-report

1.0.9 • Public • Published

cordova-plugin-firebase-crash-report

npm npm License: MIT

Simple Firebase crash report plugin for cordova

Simple use:

FirebaseCrashReport.log(errorMessage);

With callbacks:

FirebaseCrashReport.log(errorMessage, successFunction, failureFunction);

Global error reporting example:

window.onerror = function(msg, url, line, col, error) {
  FirebaseCrashReport.log("Error: " + msg + "\nurl: " + url
     + "\nline: " + line + (!col ? '' : '\ncolumn: ' + col)
     + (!error ? '' : '\nerror: ' + error));
};

Package Sidebar

Install

npm i cordova-plugin-firebase-crash-report

Weekly Downloads

0

Version

1.0.9

License

MIT

Last publish

Collaborators

  • andretissot