Conversation
Adds a comprehensive guide for adding support for new React Native versions in Detox, based on patterns from recent upgrade PRs (0.78-0.83). Covers reflection breakage research, version-switch infrastructure, CI pipeline setup, and common pitfalls. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Bump react-native 0.83.0→0.84.0, react 19.2.0→19.2.3, @react-native/* 0.83.0→0.84.0, @react-native-community/cli* 20.0.2→20.1.1 across detox, test app, and demo app. Fix demo app MainApplication.kt to use modern pattern (load() + applicationContext). Add RN 84 Buildkite CI pipelines and move REACT_NATIVE_COMPAT_TEST to RN 84 jobs. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
RN 0.84 removed NotThreadSafeBridgeIdleDebugListener and the addBridgeIdleDebugListener/removeBridgeIdleDebugListener methods from CatalystInstance. Use reflection to interact with these APIs so the code compiles against any RN version. On RN 0.84+ (where the API is absent), the resource gracefully falls back to reporting idle, since bridge monitoring is only relevant for old architecture which is being phased out. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The previous loadReactNative(this) call was handling SoLoader initialization internally. After replacing it with load(), SoLoader must be initialized explicitly to avoid IllegalStateException. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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
0.83.0→0.84.0, react19.2.0→19.2.3,@react-native/*0.83.0→0.84.0,@react-native-community/cli*20.0.2→20.1.1across detox, test app, and demo appMainApplication.ktto use modern pattern (load()+applicationContext) matching the test appREACT_NATIVE_COMPAT_TESTfrom RN 83 to RN 84 demo app jobsTest plan
yarn installsucceedsyarn integrationin detox/test🤖 Generated with Claude Code