diff --git a/CHANGELOG.md b/CHANGELOG.md index a6c088aa7..860b376d0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,12 @@ > make sure you follow our [migration guide](https://docs.sentry.io/platforms/react-native/migration/) first. +## Unreleased + +### Fixes + +- Export `extraErrorDataIntegration` from `@sentry/core` ([#4762](https://github.com/getsentry/sentry-react-native/pull/4762)) + ## 6.11.0 ### Features diff --git a/packages/core/src/js/integrations/exports.ts b/packages/core/src/js/integrations/exports.ts index b889ec371..e87a88c61 100644 --- a/packages/core/src/js/integrations/exports.ts +++ b/packages/core/src/js/integrations/exports.ts @@ -34,4 +34,5 @@ export { inboundFiltersIntegration, linkedErrorsIntegration as browserLinkedErrorsIntegration, rewriteFramesIntegration, + extraErrorDataIntegration, } from '@sentry/react'; diff --git a/samples/react-native/src/App.tsx b/samples/react-native/src/App.tsx index 0e18f9071..46a489952 100644 --- a/samples/react-native/src/App.tsx +++ b/samples/react-native/src/App.tsx @@ -126,6 +126,7 @@ Sentry.init({ }, namePlaceholder: 'Fullname', }), + Sentry.extraErrorDataIntegration(), ); return integrations.filter(i => i.name !== 'Dedupe'); },