Socket
Book a DemoInstallSign in
Socket

@totalpave/cordova-sentry

Package Overview
Dependencies
Maintainers
3
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@totalpave/cordova-sentry

Cordova Plugin for Sentry

latest
npmnpm
Version
0.1.4
Version published
Maintainers
3
Created
Source

@totalpave/cordova-sentry

Cordova Plugin that incorporates Sentry native runtime for native tracking.

Sentry's Cordova plugin may offer more things out-of-the-box including scripts to handle uploading native debug symbols and JS source maps. But it's a package that doesn't receive regular maintenance.

This package doesn't concern itself with the JS runtime, allowing you to choose a runtime that makes sense for your application, and have it updated independently. This package also doesn't concern with scripts to upload source maps or other debug symbols.

This package only goal is to setup Sentry in the native environment as early as Cordova will possibly allow us.

Installing the plugin

This plugin requires a SENTRY_DSN variable to be set at install time:

cordova plugin add @totalpave/cordova-sentry --variable SENTRY_DSN=<your-dsn>

Native Runtimes

PlatformVersion
iOS8.25.0
Android7.9.0

JS Runtime

This plugin does not include JS runtime. Sentry has several different JS runtimes available including:

  • Browser
  • Angular
  • ReactJS
  • And More

Choose a JS runtime that makes sense for your application.

JS API

While this plugin does not integrate any JS runtimes, it does include an API to trigger a native exception capture for testing purposes. Useful for confirming if native symbols are working.

await window.totalpave.Sentry.testNativeException();

To capture exceptions/messages, use your own installed JS sentry runtime.

FAQs

Package last updated on 18 Aug 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts