App Center Crashes
App Center Analytics helps you understand user behavior and customer engagement to improve your app. The SDK automatically captures session count and device properties like model, OS version, etc. You can define your own custom events to measure things that matter to you. All the information captured is available in the App Center portal for you to analyze the data.
For more info, please see https://docs.microsoft.com/en-us/appcenter/sdk/crashes/cordova
https://github.com/Microsoft/appcenter-sdk-cordova/tree/master/cordova-plugin-appcenter-crashes
Stuck on a Cordova issue?
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
- Capacitor
- Cordova
- Enterprise
$ npm install cordova-plugin-appcenter-crashes
$ npm install @awesome-cordova-plugins/app-center-crashes
$ ionic cap sync
$ ionic cordova plugin add cordova-plugin-appcenter-crashes
$ npm install @awesome-cordova-plugins/app-center-crashes
Ionic Enterprise comes with fully supported and maintained plugins from the Ionic Team. Learn More or if you're interested in an enterprise version of this plugin Contact Us
Supported Platforms
- Android
- iOS
Usage
React
Learn more about using Ionic Native components in React
Angular
import { AppCenterCrashes } from '@awesome-cordova-plugins/app-center-crashes/ngx';
constructor(private AppCenterCrashes: AppCenterCrashes) { }
...
this.AppCenterCrashes.setEnabled(true).then(() => {
this.AppCenterCrashes.lastSessionCrashReport().then(report => {
console.log('Crash report', report);
});
});