Repository navigation
Upgrade mobile app to Expo SDK 58 for iPhone Duo - #6242
Merged
Merged
Conversation
- 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.
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.
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 outsideapps/mobileare unchanged.react-nativere-export list has noNativeComponentRegistry, which expo-modules-core 58 uses for native views, so the app threwCannot read property 'get' of undefinedat startup and stayed on the splash screen. Both are pre-release versions.expo-modules-jsiandreact-native-screens(both fixed upstream). Ported thereact-native-webviewpatch to 14.0.1, and restoredWebView<P = {}>in its typings: 14.0.1 declaresP = undefined, so its props becomeneverand every<WebView ref>fails to typecheck.newArchEnabledfromapp.json; SDK 58's config schema rejects it.TextInputInstance,InputPropsomits the overlappingTextInputPropskeys, andAppStateLike.currentStateacceptsstring | null | undefined.How you verified
pnpm exec turbo run typecheck test lint --filter=@bb/mobile: typecheck and lint pass, 341 tests pass.pnpm exec turbo run typecheckacross the repo: 112/112 tasks pass.turbo run testfor@bb/app,@bb/core-ui,@bb/shared-ui,@bb/thread-view: all pass.pair-direct-serverMaestro subflow, then folded and rotated the simulator: closed (outer screen), open, half-folded and landscape all render.macos-15) has Xcode 27.x, and whether the EAS build image does.