Skip to content

Upgrade mobile app to Expo SDK 58 for iPhone Duo - #6242

Merged
SawyerHood merged 2 commits into
mainfrom
expo-sdk-58
Oct 24, 2026
Merged

SawyerHood merged 2 commits into
mainfrom
expo-sdk-58

Conversation

@SawyerHood

Copy link
Copy Markdown
Collaborator

Human comments

What was wrong

iPhone Duo (released Oct 23) only gives an app its full screen area, resizing, and fold/vertical-bar handling when the app is built with the iOS 27 SDK. bb's mobile app was on Expo SDK 57 / React Native 0.86. Expo SDK 58 (React Native 0.88) is the release that supports iOS 27 and iPhone Duo.

What changed

  • apps/mobile: Expo 58.0.19 and the SDK 58 package versions (React Native 0.88.0, React 19.3.0, gesture-handler 3.3, reanimated 4.7, screens 4.30, webview 14.0.1, safe-area-context 5.10, …). The lockfile resolves React 19.3.0 for the whole monorepo; package specifiers outside apps/mobile are unchanged.
  • NativeWind 5.0.0-rc.0 / react-native-css 3.1.0-rc.0. react-native-css 3.0.7's react-native re-export list has no NativeComponentRegistry, which expo-modules-core 58 uses for native views, so the app threw Cannot read property 'get' of undefined at startup and stayed on the splash screen. Both are pre-release versions.
  • Patches: dropped expo-modules-jsi and react-native-screens (both fixed upstream). Ported the react-native-webview patch to 14.0.1, and restored WebView<P = {}> in its typings: 14.0.1 declares P = undefined, so its props become never and every <WebView ref> fails to typecheck.
  • Removed newArchEnabled from app.json; SDK 58's config schema rejects it.
  • RN 0.88 types: refs use TextInputInstance, InputProps omits the overlapping TextInputProps keys, and AppStateLike.currentState accepts string | null | undefined.
  • Mobile README and the Mobile E2E workflow now prefer Xcode 27.1 / 27.x, falling back to 26.x.

How you verified

  • pnpm exec turbo run typecheck test lint --filter=@bb/mobile: typecheck and lint pass, 341 tests pass.
  • pnpm exec turbo run typecheck across the repo: 112/112 tasks pass.
  • turbo run test for @bb/app, @bb/core-ui, @bb/shared-ui, @bb/thread-view: all pass.
  • Release build on Xcode 27.1 for the iPhone Duo simulator (iOS 27.1). Paired it to the mobile E2E backend with the pair-direct-server Maestro subflow, then folded and rotated the simulator: closed (outer screen), open, half-folded and landscape all render.
  • Not yet checked: whether the Mobile E2E runner image (macos-15) has Xcode 27.x, and whether the EAS build image does.

AGENT GENERATED

- Bump expo and SDK-managed packages to SDK 58 versions; React 19.3.0
- Drop expo-modules-jsi and react-native-screens patches (fixed upstream)
- Port react-native-webview patch to 14.0.1; restore WebView<P = {}> default
- Remove newArchEnabled from app.json (no longer a config field)
- Adapt to RN 0.88 types: TextInputInstance refs, AppState.currentState
react-native-css 3.0.7's react-native re-export lacks NativeComponentRegistry,
which expo-modules-core 58 uses for native views, so the app threw
"Cannot read property 'get' of undefined" at startup. Also point the mobile
README and Mobile E2E workflow at Xcode 27.1.
@SawyerHood
SawyerHood merged commit 48af2a8 into main Oct 24, 2026
51 checks passed
@SawyerHood
SawyerHood deleted the expo-sdk-58 branch October 24, 2026 20:44
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