cordova-plugin-firebase-crash-report 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));};