getsentry / sentry-cordova

The official Sentry SDK for Cordova

Home Page:https://sentry.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

The official Sentry SDK for Cordova

https://sentry.io/

License:MIT License


Languages

Language:TypeScript 48.4%Language:Java 20.0%Language:JavaScript 17.1%Language:Objective-C 13.7%Language:Shell 0.5%Language:Makefile 0.3%