Skip to content

MaximBelov/sentry-cordova

 
 

Repository files navigation

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

Warning

Example and sample code in is unmaintained. Sample code may contain security vulnerabilities, should never be used in production, and exists only for illustrative purposes.

About

The official Sentry SDK for Cordova

Resources

License

Contributing

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 46.2%
  • Java 19.3%
  • JavaScript 16.9%
  • Objective-C 13.0%
  • Shell 4.4%
  • Makefile 0.2%