sentry-cordova
TypeScript icon, indicating that this package has built-in type declarations

1.3.0 • Public • Published

Sentry

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

Bad software is everywhere, and we're tired of it. Sentry is on a mission to help developers write better software faster, so we can get back to enjoying technology. If you want to join us Check out our open positions

build codecov npm version npm dm npm dt

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

Package Sidebar

Install

npm i sentry-cordova

Weekly Downloads

1,963

Version

1.3.0

License

MIT

Unpacked Size

28.1 MB

Total Files

284

Last publish

Collaborators

  • benvinegar
  • billyvg
  • mitsuhiko
  • haza
  • jauer
  • sentry-bot
  • evanpurkhiser
  • lynnagara
  • leedongwei
  • markstory
  • zeeg