Awesome Open Source
Awesome Open Source
Sponsorship


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


Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
typescript (9,154
android (5,787
ios (3,325
cordova (181
ionic (160
sentry (53

Find Open Source By Browsing 7,000 Topics Across 59 Categories