Rollbarβ
This plugin is still in beta stage and may not work as expected. Please submit any issues to the plugin repo.
This plugin adds Rollbar App monitoring to your application
Repo: https://github.com/Resgrid/cordova-plugins-rollbar
Installation
- Install the Cordova and Ionic Native plugins:
$ ionic cordova plugin add resgrid-cordova-plugins-rollbar --variable ROLLBAR_ACCESS_TOKEN="YOUR_ROLLBAR_ACCEESS_TOKEN" --variable ROLLBAR_ENVIRONMENT="ROLLBAR_ENVIRONMENT" $ npm install --save @ionic-native/rollbar@4
- Add this plugin to your app's module
Supported platforms
- Android
- iOS
Usage
import { Rollbar } from '@ionic-native/rollbar';
constructor(private rollbar: Rollbar) { }
...
this.rollbar.init();
Instance Members
init()
This function initializes the monitoring of your application
Returns: Promise<any>
Returns a promise that resolves when the plugin successfully initializes