Skip to content

W-22850908: Upgrade React Native from 0.85.3 to 0.86.0#466

Merged
wmathurin merged 6 commits into
forcedotcom:devfrom
wmathurin:rn-upgrade-0.86
Jun 16, 2026
Merged

W-22850908: Upgrade React Native from 0.85.3 to 0.86.0#466
wmathurin merged 6 commits into
forcedotcom:devfrom
wmathurin:rn-upgrade-0.86

Conversation

@wmathurin

Copy link
Copy Markdown
Contributor

Summary

  • package.json: react-native peer dep 0.85.30.86.0; @react-native/* devDeps → 0.86.0
  • iosTests/package.json + androidTests/package.json: same bumps
  • android/build.gradle: react-android0.86.0
  • androidTests/android/app/build.gradle.kts: react-android / hermes-android0.86.0
  • iosTests/ios/SalesforceReactTestApp.xcodeproj/project.pbxproj: PODFILE_DIR setting added by pod install (new in RN 0.86 CocoaPods integration)
  • iosTests/ios/SalesforceReactTestApp/PrivacyInfo.xcprivacy: two entries reordered (cosmetic)
  • Android codegen regenerated — output identical (no spec changes)
  • .claude/skills/upgrade-react-native/SKILL.md: documented numShards=1 fix for Android test flake; added 0.86.0 to version history

RN 0.86 highlights

No breaking changes. Key improvements relevant to us:

  • Android edge-to-edge fixes for Android 15+ (measureInWindow, KeyboardAvoidingView, Dimensions, StatusBar)
  • BackHandler re-registration fix on Android API 36+
  • Metro bumped to ^0.84.2 (running as 0.84.4)

Test results

Suite iOS Android
ReactHarnessTests 2/2 ✅ 2/2 ✅
ReactOAuthTests 1/1 ✅ 1/1 ✅
ReactNetTests 18/18 ✅ 18/18 ✅
ReactSmartStoreTests 11/11 ✅ 11/11 ✅
ReactMobileSyncTests 5/5 ✅ 5/5 ✅
Total 35/35 35/35

Android tests run with -Pandroid.testInstrumentationRunnerArguments.numShards=1testCleanResyncGhosts flakes under parallel load due to a pre-existing NetworkOnMainThreadException in the emulator's AccountManager; passes reliably sequentially.

⚠️ Before Merging

Revert react-native-force URLs in iosTests/package.json and androidTests/package.json from wmathurin#rn-upgrade-0.86 back to forcedotcom#dev.

- package.json: react-native peer dep 0.85.3 → 0.86.0; @react-native/* devDeps → 0.86.0
- iosTests/package.json: react-native 0.85.3 → 0.86.0; @react-native/* → 0.86.0; react-native-force URL → wmathurin#rn-upgrade-0.86
- androidTests/package.json: same
- android/build.gradle: react-android 0.85.3 → 0.86.0
- androidTests/android/app/build.gradle.kts: react-android/hermes-android 0.85.3 → 0.86.0
- android/generated/source/codegen: regenerated (no diff — spec unchanged)
@github-actions

github-actions Bot commented Jun 16, 2026

Copy link
Copy Markdown
TestsPassed ✅SkippedFailed
iOS ^18 Test Results35 ran35 ✅
TestResult
No test annotations available

@github-actions

github-actions Bot commented Jun 16, 2026

Copy link
Copy Markdown
TestsPassed ✅SkippedFailed
iOS ^26 Test Results35 ran35 ✅
TestResult
No test annotations available

@wmathurin

Copy link
Copy Markdown
Contributor Author

Will fix Android CI separately.

@wmathurin wmathurin merged commit 3c5164d into forcedotcom:dev Jun 16, 2026
7 of 8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants