Awesome Open Source
Awesome Open Source

Sentry SDK for React Native

Travis E2E Tests npm version npm dm npm dt Discord Chat


  • react-native >= 0.56.0


  • Automatic JS Error Tracking (using @sentry/browser)
  • Automatic Native Crash Error Tracking (using sentry-cocoa & sentry-android under the hood)
  • Offline storage of events
  • On Device symbolication for JS (in Debug)
  • Autolinking
  • Events with enriched device data
  • RAM bundle support
  • Hermes support
  • Expo support (sentry-expo)

Installation and Usage

To install the package:

npm install --save @sentry/react-native
# OR
yarn add @sentry/react-native

If you are using a version of React Native <= 0.60.x link the package using react-native.

react-native link @sentry/react-native
# OR, if self hosting
SENTRY_WIZARD_URL= react-native link @sentry/react-native

How to use it:

import * as Sentry from "@sentry/react-native";

  dsn: "__DSN__"

Sentry.setTag("myTag", "tag-value");
Sentry.setExtra("myExtra", "extra-value");
Sentry.addBreadcrumb({ message: "test" });

Sentry.captureMessage("Hello Sentry!");


If you are coming from react-native-sentry which was our SDK < 1.0 you should follow the upgrade guide and then follow the install steps.


  • Documentation
  • Forum
  • Discord
  • Stack Overflow
  • Code of Conduct
  • Twitter Follow

Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
javascript (65,993
typescript (9,114
android (5,771
react (4,817
ios (3,317
react-native (1,404
sdk (471
sentry (53
crash (36

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