Upgrade to React Native 0.85.3 / Expo SDK 56 (new architecture)#6064
Upgrade to React Native 0.85.3 / Expo SDK 56 (new architecture)#6064peachbits wants to merge 3 commits into
Conversation
Move the app to React Native 0.85.3 / Expo SDK 56 on the new architecture. Remove the reanimated v3/v4 platform split (Android was pinned to reanimated 3 on the old architecture via scripts/r3-hack) so both platforms run reanimated v4. Bumps the RN-ecosystem dependencies together and updates the jest preset, worklets resolver, and test snapshots. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Enable newArchEnabled, bump compile/target SDK 35->36, and rewrite settings.gradle for Expo SDK 56 autolinking. Unwrap MainApplication from the ReactNativeHostWrapper removed in SDK 56. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Expo autolinking + new-architecture Podfile (deployment target 16.4), the ExpoReactNativeFactory AppDelegate, and RCTNewArchEnabled in Info.plist. Includes the build fixes needed under Xcode 26. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
Warning Review the following alerts detected in dependencies. According to your organization's Security Policy, it is recommended to resolve "Warn" alerts. Learn more about Socket for GitHub.
|
Summary
Upgrades edge-react-gui from React Native 0.79.2 → 0.85.3 (Expo SDK 53 → 56), moving both platforms to the new architecture and removing the reanimated v3/v4 platform split.
Android was previously pinned to reanimated 3 on the old architecture via a local
scripts/r3-hackcrutch (iOS already ran reanimated 4 on the new arch). This drops the crutch so the whole app runs reanimated v4 on the new architecture, and brings RN, Expo, and the RN-ecosystem dependencies up to current.Commits (structured for review)
newArchEnabled, compile/target SDK 35→36, Expo SDK 56 autolinking,MainApplicationunwrap.ExpoReactNativeFactoryAppDelegate,RCTNewArchEnabled.Split by area (JS / Android / iOS) so each commit independently passes
precommit(the native changes don't affecttsc/tests).Performance — Android, Flashlight, physical device
Crutch removal + new arch + the RN bump measurably improved Android scroll performance:
Net: jank floor 33 → 48 fps (+44%), jank −66%, peak CPU −38%, total CPU −42% — at a RAM cost (the new-arch tradeoff).
Testing
tsc --noEmit: clean (0 errors)Notes
RCTNewArchEnabled(Info.plist) is what enables the new-arch runtime on iOS.🤖 Generated with Claude Code