cordova-app-crash

A simple enough plugin to crash the app on demand

Usage no npm install needed!

<script type="module">
  import cordovaAppCrash from 'https://cdn.skypack.dev/cordova-app-crash';
</script>

README

cordova-app-crash

Crash your app on demand. Created for crash testing. Crashlytics provide the API for native apps but as of now (15th Oct 2018), there's no such cordova plugin to support this.

Installation

$ cordova plugin add cordova-app-crash

Usage

cordova.plugins.AppCrash.crash(
    "crash",
    (successResp) => {
        console.log(successResp);
    }, (error) => {
        console.log(error);
    }
);

Collaborators