{"id":13479511,"url":"https://github.com/getsentry/sentry-react-native","last_synced_at":"2025-05-12T13:11:49.249Z","repository":{"id":37458302,"uuid":"75196241","full_name":"getsentry/sentry-react-native","owner":"getsentry","description":"Official Sentry SDK for React Native","archived":false,"fork":false,"pushed_at":"2025-05-12T09:28:32.000Z","size":75201,"stargazers_count":1658,"open_issues_count":164,"forks_count":344,"subscribers_count":78,"default_branch":"main","last_synced_at":"2025-05-12T13:11:18.991Z","etag":null,"topics":["android","crash-reporting","ios","javascript","react-native","sdk","sentry","tag-production","team-mobile","typescript"],"latest_commit_sha":null,"homepage":"https://sentry.io","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/getsentry.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"custom":["https://sentry.io/pricing/","https://sentry.io/"]}},"created_at":"2016-11-30T14:45:57.000Z","updated_at":"2025-05-12T08:34:08.000Z","dependencies_parsed_at":"2023-12-30T04:19:33.179Z","dependency_job_id":"db8b9136-ad7b-4d34-b201-2b0eacbe074a","html_url":"https://github.com/getsentry/sentry-react-native","commit_stats":{"total_commits":2194,"total_committers":148,"mean_commits":"14.824324324324325","dds":0.6882406563354604,"last_synced_commit":"d8668ce6d58c13991a0d6bfa0c9fea640a933376"},"previous_names":["getsentry/react-native-sentry"],"tags_count":388,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getsentry%2Fsentry-react-native","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getsentry%2Fsentry-react-native/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getsentry%2Fsentry-react-native/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getsentry%2Fsentry-react-native/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/getsentry","download_url":"https://codeload.github.com/getsentry/sentry-react-native/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253745174,"owners_count":21957318,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android","crash-reporting","ios","javascript","react-native","sdk","sentry","tag-production","team-mobile","typescript"],"created_at":"2024-07-31T16:02:17.990Z","updated_at":"2025-05-12T13:11:49.193Z","avatar_url":"https://github.com/getsentry.png","language":"TypeScript","readme":"\u003cdiv align=\"center\"\u003e\n    \u003ca href=\"https://sentry.io/?utm_source=github\u0026utm_medium=logo\" target=\"_blank\"\u003e\n        \u003cimg src=\"https://sentry-brand.storage.googleapis.com/github-banners/github-sdk-react.jpg\" alt=\"Sentry for React Native\"\u003e\n    \u003c/a\u003e\n\u003c/div\u003e\n\n_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 [\u003ckbd\u003e**Check out our open positions**\u003c/kbd\u003e](https://sentry.io/careers/)_\n\n# Sentry SDK for React Native\n\n[![Build \u0026 Test](https://github.com/getsentry/sentry-react-native/actions/workflows/buildandtest.yml/badge.svg)](https://github.com/getsentry/sentry-react-native/actions/workflows/buildandtest.yml)\n[![npm version](https://img.shields.io/npm/v/@sentry/react-native.svg)](https://www.npmjs.com/package/@sentry/react-native)\n[![npm dm](https://img.shields.io/npm/dm/@sentry/react-native.svg)](https://www.npmjs.com/package/@sentry/react-native)\n[![npm dt](https://img.shields.io/npm/dt/@sentry/react-native.svg)](https://www.npmjs.com/package/@sentry/react-native)\n[![Discord Chat](https://img.shields.io/discord/621778831602221064?logo=discord\u0026logoColor=ffffff\u0026color=7389D8)](https://discord.gg/PXa5Apfe7K)\n[![Runs with Expo](https://img.shields.io/badge/Runs%20with%20Expo-4630EB.svg?style=flat-square\u0026logo=EXPO\u0026labelColor=f3f3f3\u0026logoColor=000)](https://expo.dev/)\n\n## Releases\n\nThis repo uses the following ways to release SDK updates:\n\n- `Pre-release`: We create pre-releases (alpha, beta, RC,…) for larger and potentially more impactful changes, such as new features or major versions.\n- `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.\n- `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](https://github.com/getsentry/sentry-react-native/releases/) with the `Stable` suffix.\n\n## Requirements\n\n- `react-native \u003e= 0.65.0`\n\n## Features\n\n- Automatic JS Error Tracking (using [@sentry/browser](https://github.com/getsentry/sentry-javascript))\n- Automatic Native Crash Error Tracking (using [sentry-cocoa](https://github.com/getsentry/sentry-cocoa) \u0026 [sentry-android](https://github.com/getsentry/sentry-java) under the hood)\n- Offline storage of events\n- On Device symbolication for JS (in Debug)\n- [Autolinking](https://facebook.github.io/react-native/blog/2019/07/03/version-60#native-modules-are-now-autolinked)\n- Events with enriched device data\n- RAM bundle support\n- Hermes support\n- [Expo support](https://docs.sentry.io/platforms/react-native/manual-setup/expo/)\n- RN New Architecture support\n\n## Installation and Usage\n\nTo install the package and setup your project:\n\n```sh\nnpx @sentry/wizard -s -i reactNative\n```\n\nHow to use it:\n\n```javascript\nimport * as Sentry from \"@sentry/react-native\";\n\nSentry.init({\n  dsn: \"__DSN__\",\n\n  // Set tracesSampleRate to 1.0 to capture 100%\n  // of transactions for performance monitoring.\n  // We recommend adjusting this value in production\n  tracesSampleRate: 1.0,\n});\n\nSentry.setTag(\"myTag\", \"tag-value\");\nSentry.setExtra(\"myExtra\", \"extra-value\");\nSentry.addBreadcrumb({ message: \"test\" });\n\nSentry.captureMessage(\"Hello Sentry!\");\n```\n\n## Upgrade\n\nIf you are coming from `react-native-sentry` which was our SDK `\u003c 1.0` you should follow the [upgrade guide](https://docs.sentry.io/platforms/react-native/#upgrading-from-react-native-sentry) and then follow the [install steps](https://docs.sentry.io/platforms/react-native/#integrating-the-sdk).\n\n## Blog posts\n\n[Introducing Mobile Screenshots and Suspect Commits](https://blog.sentry.io/2022/07/07/introducing-mobile-screenshots-and-suspect-commits).\n\n[Tips for Optimizing React Native Application Performance - Part 2: Using Sentry SDK for Performance Monitoring](https://blog.sentry.io/2022/06/28/tips-for-optimizing-react-native-application-performance-part-2-using-sentry).\n\n[Tips for Optimizing React Native Application Performance: Part 1](https://blog.sentry.io/2022/06/01/tips-for-optimizing-react-native-application-performance-part-1).\n\n[Tracking Stability in a Bluetooth Low Energy-Based React-Native App](https://blog.sentry.io/2022/02/22/tracking-stability-in-a-bluetooth-low-energy-based-react-native-app).\n\n[Mobile Vitals - Four Metrics Every Mobile Developer Should Care About](https://blog.sentry.io/2021/08/23/mobile-vitals-four-metrics-every-mobile-developer-should-care-about/).\n\n[Performance Monitoring Support for React Native](https://blog.sentry.io/2021/03/11/performance-monitoring-support-for-react-native/?utm_source=github\u0026utm_medium=readme\u0026utm_campaign=sentry-react-native).\n\n## Resources\n\n- [![Documentation](https://img.shields.io/badge/documentation-sentry.io-green.svg)](https://docs.sentry.io/platforms/react-native/)\n- [![Discussions](https://img.shields.io/github/discussions/getsentry/sentry-react-native.svg)](https://github.com/getsentry/sentry-react-native/discussions)\n- [![Discord Chat](https://img.shields.io/discord/621778831602221064?logo=discord\u0026logoColor=ffffff\u0026color=7389D8)](https://discord.gg/PXa5Apfe7K)\n- [![Stack Overflow](https://img.shields.io/badge/stack%20overflow-sentry-green.svg)](http://stackoverflow.com/questions/tagged/sentry)\n- [![Code of Conduct](https://img.shields.io/badge/code%20of%20conduct-sentry-green.svg)](https://github.com/getsentry/.github/blob/main/CODE_OF_CONDUCT.md)\n- [![Twitter Follow](https://img.shields.io/twitter/follow/getsentry?label=getsentry\u0026style=social)](https://twitter.com/intent/follow?screen_name=getsentry)\n","funding_links":["https://sentry.io/pricing/","https://sentry.io/"],"categories":["TypeScript","Uncategorized","React Native [🔝](#readme)","Performance Monitoring \u0026 Analytics"],"sub_categories":["Uncategorized","Graphics \u0026 Drawing"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgetsentry%2Fsentry-react-native","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgetsentry%2Fsentry-react-native","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgetsentry%2Fsentry-react-native/lists"}