fix(react-native): report correct agent version and set RN peer floor to 0.73 - #379
Draft
KishanPRao wants to merge 1 commit into
Draft
fix(react-native): report correct agent version and set RN peer floor to 0.73#379KishanPRao wants to merge 1 commit into
KishanPRao wants to merge 1 commit into
Conversation
melekr
reviewed
Jul 30, 2026
melekr
left a comment
Collaborator
There was a problem hiding this comment.
we're pinning "react-native": ">=0.72.0"
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.
Summary
The SDK stamped a hardcoded
0.0.1agent version on every report; read it from the package version instead, and set the supported RN floor to 0.73.Changes
packages/react-native/src/BacktraceClient.ts: readagentVersionfrom the package version instead of the hardcoded0.0.1.packages/react-native/package.json: set thereact-nativepeer dependency floor to>=0.73.0(0.72 crashes on init, 0.73 to 0.83 validated).Note
agentVersionreadspackage.jsonthrough thereact-native/srcentry Metro uses, so it is correct at runtime; thelib/builds resolve the path one level too deep, but RN never loadslib/.ref: BT-7355