Skip to content

Capacitor plugin for the Sentry/Raven native SDKs

Notifications You must be signed in to change notification settings

agustiza/capacitor-sentry

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Capacitor Sentry

npm npm

Installation

  • npm i @teamhive/capacitor-sentry

Usage

import '@teamhive/capacitor-sentry';

import { Plugins } from '@capacitor/core';
const { Sentry } = Plugins;
Sentry.initialize({
    dsn:"dsn"
});

Api

Method Default Type Description
initialize(options: { dsn: string }) Promise<any>
crash() Call to crash app
setUser({id:string,email:string,username:string,ip:string,extra:Object })
setTags({tags:Object})
setExtra({extra:Object})
clearContext()
captureMessage({message:string})
captureException()
captureBreadcrumb({})

About

Capacitor plugin for the Sentry/Raven native SDKs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 40.7%
  • Swift 33.2%
  • TypeScript 11.9%
  • Objective-C 6.8%
  • Ruby 5.9%
  • JavaScript 1.5%