feat(react-native): Document environment/release/dist alignment for app start errors#18508
Open
antonis wants to merge 1 commit into
Open
feat(react-native): Document environment/release/dist alignment for app start errors#18508antonis wants to merge 1 commit into
antonis wants to merge 1 commit into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
1 Skipped Deployment
|
7 tasks
…pp start errors Add `environment` to the values that must match between sentry.options.json and Sentry.init(), note that SENTRY_ENVIRONMENT/RELEASE/DIST now align both the native copy and the JS-bundled options (SDK 8.16.0+), and connect a mismatch to release health splitting (Failure Rate instead of Crash Free Session Rate).
937a681 to
942a890
Compare
antonis
commented
Jun 23, 2026
| } | ||
| ``` | ||
|
|
||
| Applying `SENTRY_RELEASE` and `SENTRY_DIST` from EAS to the JavaScript-bundled options requires Sentry React Native SDK version 8.16.0 or higher (see [Setting the Environment](#setting-the-environment) above). On earlier versions, also set matching values in `Sentry.init()`. |
Contributor
Author
There was a problem hiding this comment.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
DESCRIBE YOUR PR
Updates the Capture App Start Errors guide to explain how
environment,release, anddistmust stay aligned between the native SDK and JavaScript when using early native initialization.Context: corresponds to SDK fix getsentry/sentry-react-native#6330 and the report in getsentry/sentry-react-native#6329.
IS YOUR CHANGE URGENT?
PRE-MERGE CHECKLIST
Make sure you've checked the following before merging your changes:
EXTRA RESOURCES