Sentry added support for
react-native builds that use the
hermes engine, which required changes to the sentry SDK,
sentry-cli as well as Sentry itself.
Sentry customers using the SaaS product (sentry.io) will need to update the SDK, and
The minimum required version for the SDK is
@sentry/react-native SDK version
For Sentry open source, self-hosted users, the minimum version required is f07352b.
Other than making sure you have the minimum version of the SDK, Sentry itself is all you need besides the standard integration described in the React Native Sentry documentation.
The combination of
@sentry/cli should integrate
correctly into the
react-native build pipeline to find and upload the correct source map.
However, care must be taken to upload the correct source map when manually bundling and building react-native apps.
Building Hermes bundles is a three-step process, each of which creates a different source map.
- Bundling / minifying using
- Compiling to bytecode using
- Merging SourceMaps using
index.android.bundle.packager.map + index.android.bundle.compiler.map => index.android.bundle.map
It is important to upload the third SourceMap (