Need private packages and team management tools?Check out npm Teams »

sentry-cordova

0.17.0 • Public • Published


Official Sentry SDK for Cordova (Ionic, ...)

Travis codecov npm version npm dm npm dt

deps deps dev deps peer

This is a beta release

Usage

Cordova in index.html onDeviceReady function:

onDeviceReady: function() {
    ...
    var Sentry = cordova.require("sentry-cordova.Sentry");
    Sentry.init({ dsn: '___PUBLIC_DSN___' });
    ...
}

Ionic in your app.module.ts:

...
import * as Sentry from 'sentry-cordova';
...
Sentry.init({ dsn: '___PUBLIC_DSN___' });

Documentation

Install

npm i sentry-cordova

DownloadsWeekly Downloads

3,951

Version

0.17.0

License

MIT

Unpacked Size

16 MB

Total Files

122

Last publish

Collaborators

  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar