App Center Crashes

Contents

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.

Installation

ionic cordova plugin add cordova-plugin-appcenter-crashes npm install @ionic-native/app-center-crashes

Supported Platforms

  • Android
  • iOS

Usage

import { AppCenterCrashes } from '@ionic-native/app-center-crashes';


constructor(private AppCenterCrashes: AppCenterCrashes) { }

...

this.AppCenterCrashes.setEnabled(true).then(() => {
   this.AppCenterCrashes.lastSessionCrashReport().then(report => {
       console.log('Crash report', report);
   });
});