GitPedia

Sentry react native

Official Sentry SDK for React Native

From getsentry·Updated June 15, 2026·View on GitHub·

_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**](https://sentry.io/careers/)_ The project is written primarily in TypeScript, distributed under the MIT License license, first published in 2016. It has gained significant community traction with 1,806 stars and 359 forks on GitHub. Key topics include: android, crash-reporting, ios, javascript, react-native.

Latest release: 8.14.0
June 11, 2026View Changelog →
<div align="center"> <a href="https://sentry.io/?utm_source=github&utm_medium=logo" target="_blank"> <img src="https://sentry-brand.storage.googleapis.com/github-banners/github-sdk-react.jpg" alt="Sentry for React Native"> </a> </div>

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 <kbd>Check out our open positions</kbd>

Sentry SDK for React Native

Build & Test
npm version
npm dm
npm dt
X Follow
Discord Chat
Runs with Expo

Releases

This repo uses the following ways to release SDK updates:

  • Pre-release: We create pre-releases (alpha, beta, RC,…) for larger and potentially more impactful changes, such as new features or major versions.
  • Latest: We continuously release major/minor/hotfix versions from the main branch. These releases go through all our internal quality gates and are very safe to use and intended to be the default for most teams.
  • Stable: We promote releases from Latest when they have been used in the field for some time and in scale, considering time since release, adoption, and other quality and stability metrics. These releases will be indicated on the releases page with the Stable suffix.

For a list of which SDK versions are bundled with each release, see SDK-VERSIONS.md.

Requirements

  • react-native >= 0.65.0

Features

  • 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
  • RN New Architecture support

Installation and Usage

To install the package and setup your project:

sh
npx @sentry/wizard -s -i reactNative

How to use it:

javascript
import * as Sentry from "@sentry/react-native"; Sentry.init({ dsn: "__DSN__", // Set tracesSampleRate to 1.0 to capture 100% // of transactions for performance monitoring. // We recommend adjusting this value in production tracesSampleRate: 1.0, }); Sentry.setTag("myTag", "tag-value"); Sentry.setExtra("myExtra", "extra-value"); Sentry.addBreadcrumb({ message: "test" }); Sentry.captureMessage("Hello Sentry!");

Upgrade

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.

Blog posts

Introducing Mobile Screenshots and Suspect Commits.

Tips for Optimizing React Native Application Performance - Part 2: Using Sentry SDK for Performance Monitoring.

Tips for Optimizing React Native Application Performance: Part 1.

Tracking Stability in a Bluetooth Low Energy-Based React-Native App.

Mobile Vitals - Four Metrics Every Mobile Developer Should Care About.

Performance Monitoring Support for React Native.

Resources

  • Documentation
  • Discussions
  • Discord Chat
  • Code of Conduct
  • X Follow

Contributors

Showing top 12 contributors by commit count.

View all contributors on GitHub →

This article is auto-generated from getsentry/sentry-react-native via the GitHub API.Last fetched: 6/15/2026