0.14.1 • Published 5 years ago

fitatu-sentry-cordova v0.14.1

Weekly downloads
2
License
MIT
Repository
github
Last release
5 years ago

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