Skip to content

RN 0.85.2 Upgrade#8280

Open
markdevocht wants to merge 4 commits intomasterfrom
feat/RN085
Open

RN 0.85.2 Upgrade#8280
markdevocht wants to merge 4 commits intomasterfrom
feat/RN085

Conversation

@markdevocht
Copy link
Copy Markdown
Contributor

Summary

Upgrade React Native to 0.85.2 for react-native-navigation + playground, add RN 0.85.2 CI lanes, and fix Android dev-bundle listener compatibility introduced in RN 0.85.x.

What Changed

  • Upgraded RN-related versions in root and playground package manifests:
    • react-native -> 0.85.2
    • @react-native/* toolchain packages -> 0.85.2
    • @react-native-community/cli* -> 20.1.0
    • react-native-reanimated -> 4.3.0
    • react-native-worklets -> 0.8.1
    • Added @react-native/jest-preset@0.85.2
  • Switched Jest preset:
    • jest.config.js: preset: '@react-native/jest-preset'
  • Updated Gradle wrapper for RN 0.85.x:
    • playground/android/gradle/wrapper/gradle-wrapper.properties -> gradle-9.3.1-bin.zip
  • Extended RN version-mapping scripts for 0.85:
    • RN tools versioning logic for 85+
    • Gradle mapping for 85+
    • Jest preset mapping for 85+
    • Worklets mapping for 85+
  • Added Buildkite lanes for RN 0.85.2 (copied from RN 0.84 and adjusted):
    • .buildkite/jobs/pipeline.android_rn_85.yml
    • .buildkite/jobs/pipeline.ios_rn_85.yml
    • Included both in .buildkite/pipeline.sh
  • Android compatibility fix for RN 0.85 dev-support listener signature changes:
    • DevBundleDownloadListenerAdapter
    • JsDevReloadHandlerFacade
    • ReloadHandlerFacade
    • Added compatibility for both 3-arg and 4-arg onProgress(...) forms.
    • Fixed onSuccess() default implementation to avoid recursive self-call.

Backward Compatibility Notes

  • No changes were made to RNNAppDelegate (ios/RNNAppDelegate.h/.mm unchanged).
  • Android listener changes are intentionally source-compatible across RN versions where DevBundleDownloadListener uses either 3-arg or 4-arg progress callbacks.

Validation

  • Android compile issue resolved:
    • :react-native-navigation:compileReleaseJavaWithJavac passes after listener fix.
  • iOS E2E (no pilot) passes:
    • Test Suites: 18 passed, 18 total
    • Tests: 156 passed, 26 skipped, 182 total
  • Android E2E (no pilot) local run is currently environment-blocked:
    • emulator/AVD lookup failure (ANDROID_SDK_ROOT / AVD system path issue), not a compile regression.

Notes

  • playground/ios/playground.xcodeproj/project.pbxproj changed as part of CocoaPods/react-native dependency resolution (prebuilt React-Core removal path).

@markdevocht markdevocht marked this pull request as draft April 26, 2026 12:58
@markdevocht markdevocht marked this pull request as ready for review April 27, 2026 13:30
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.

1 participant