Upgrade React Native from 0.83.9 to 0.84.1#461
Merged
Conversation
- react-native: 0.83.9 → 0.84.1 - react: 19.2.6 → 19.2.3 - @react-native/* packages: 0.83.9 → 0.84.1 - react-android/hermes-android: 0.83.9 → 0.84.1 - Node.js minimum: 20 → 22 - TypeScript compiles cleanly - iOS pod install succeeds (precompiled binaries) - Android Gradle build succeeds
RN 0.84 precompiled binaries require pods in the app host target. Test target uses inherit! :complete to get all dependencies.
RN 0.84's podspec_sources() returns headers-only when precompiled binaries are enabled (default). Our RCTTest is custom code that must always be compiled from source.
…' into rn-upgrade-0.84 # Conflicts: # iosTests/RCTTest/React-RCTTest.podspec # iosTests/ios/Podfile # iosTests/package.json # package.json
… URLs - androidTests/package.json: bump react-native to 0.84.1, react to 19.2.3, @react-native/* devDeps to 0.84.1, remove jsc-android/unused deps, use git URL for react-native-force pointing to rn-upgrade-0.84 - iosTests/package.json: update react-native-force to git URL for rn-upgrade-0.84 - reusable-android-workflow.yaml: node-version 20 → 22
- Add header search paths for ReactCommon, React-Fabric, React-NativeModulesApple - Set RCT_REMOVE_LEGACY_ARCH=1 (new default in RN 0.84) - Set SWIFT_ENABLE_EXPLICIT_MODULES=NO
# Conflicts: # .github/workflows/reusable-android-workflow.yaml # androidTests/package.json # iosTests/package.json
- README.md: bump RN version, Node >=20 → >=22, Android min 28 → 31 - docs/README.md: version compat table 0.83.9 → 0.84.1, Android min 31 - docs/ARCHITECTURE.md: update package.json example to 0.84.1 - docs/ios/README.md: RN 0.83.9 → 0.84.1, Node 20+ → 22+ - docs/ios-tests/PREPAREIOS_DETAILED.md: update example versions - docs/android-tests/README.md: Node 20 → 22, API 28 → 31
Contributor
Author
|
CI will only work after merging because we changed node version from 20 to 22. |
|
||||||||||||||
|
||||||||||||||
bbirman
approved these changes
Jun 5, 2026
brandonpage
reviewed
Jun 5, 2026
| | React Native SDK | React Native | iOS SDK | Android SDK | iOS Min | Android Min | | ||
| |-----------------|--------------|---------|-------------|---------|-------------| | ||
| | 14.0.0 | 0.83.9 | 14.0.0 | 14.0.0 | 18.0 | 28 (9.0) | | ||
| | 14.0.0 | 0.84.1 | 14.0.0 | 14.0.0 | 18.0 | 31 (12.0) | |
brandonpage
approved these changes
Jun 5, 2026
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
Upgrades the Mobile SDK React Native support from RN 0.83.9 to 0.84.1. Tracks work item W-22698006.
Key changes in RN 0.84:
RCT_REMOVE_LEGACY_ARCH=1now default)This upgrade was unblocked by the new UI-driven test infrastructure (W-22797324), which eliminated the dependency on RN internals that previously required infrastructure work on every upgrade.
Changes
package.json:react-native0.83.9 → 0.84.1,react19.2.6 → 19.2.3,@react-native/*devDeps → 0.84.1, node >=20 → >=22iosTests/package.json: same bumpsandroidTests/package.json: same bumps; removedjsc-androidand unused depsandroid/build.gradle:react-android→ 0.84.1androidTests/android/app/build.gradle.kts:react-android/hermes-android→ 0.84.1iosTests/ios/SalesforceReactTestApp.xcodeproj/project.pbxproj: build settings after pod install with RN 0.84.1 (RCT_REMOVE_LEGACY_ARCH=1,SWIFT_ENABLE_EXPLICIT_MODULES=NO, new header paths).github/workflows/reusable-android-workflow.yaml: node 20 → 22; Firebase timeout 10m → 40m;--num-flaky-test-attempts=1; env vars for injection safetyTest Results
iOS Tests (XCUITest) — 35/35 ✅
Android Tests (UIAutomator) — 35/35 ✅
The following
package.jsonfiles currently point towmathurin/SalesforceMobileSDK-ReactNative#rn-upgrade-0.84to allow CI to pass during review. Revert toforcedotcom/SalesforceMobileSDK-ReactNative#devbefore merging:iosTests/package.jsonandroidTests/package.json