The 2017 Ionic Developer Survey Results are in!

Rollbarβ

Improve this doc

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

  1. 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
    
  2. Add this plugin to your app's module

Supported platforms

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

API

Native

General