Skip to content

feat(bolt-expo): upgrade to expo sdk 58 - #140

Merged
Aslemammad merged 1 commit into
mainfrom
mohammad/bolt-911-expo-sdk-58
Nov 17, 2026
Merged

Aslemammad merged 1 commit into
mainfrom
mohammad/bolt-911-expo-sdk-58

Conversation

@Aslemammad

Copy link
Copy Markdown
Collaborator

Problem

bolt-expo is on Expo SDK 57, but store Expo Go (App Store and Play Store) now only supports SDK 58. Expo's version API reports expoGoSdkVersion: 58.0.0. New Bolt Expo projects fail with an incompatible-project error when scanned, until the user asks the agent to upgrade.

Solution

Upgrade the starter to SDK 58 with Expo's own tooling, as #135 did for SDK 57.

Implementation Details

  • bolt-expo/package.json and package-lock.json: npx expo install expo@~58.0.25 --fix.
    • Every expo-* package moves to its SDK 58 version, React to 19.3.0, React Native to 0.88.1, and @types/react to ~19.3.0.
    • The native deps move to their SDK 58 versions. That includes two majors: react-native-gesture-handler 3.3 and react-native-webview 14.0.1. Also react-native-worklets 0.13.0 and react-native-reanimated 4.7.1.
  • npm couldn't upgrade on top of the SDK 57 tree: the old expo-router@57 pulls in @expo/ui@57, which conflicts with expo-router@58's peer. So the lockfile is regenerated.
    • Unrelated packages are held at their previous versions, for example @supabase/supabase-js stays at 2.58.0.
    • The only non-Expo lockfile changes are ones SDK 58 needs: @react-navigation/native 7.5.2 and @expo/vector-icons 15.1.1.
  • app.json needs no change.

Verified, with Node 24 (SDK 58 needs 22.13+ or 24.3+):

  • npx expo-doctor: 20/20 checks pass
  • npx expo install --check: dependencies up to date
  • tsc --noEmit and npm run build:web pass. SDK 58 now splits web routes into chunks.
  • test/bolt-expo.test.ts passes in a WebContainer in Chromium, 2/2: the web build, plus the dev server with a live edit.
  • npm run format:check passes

Not yet verified: loading the app on a physical device in Expo Go.

A Bolt PR follows that moves the automatic SDK upgrade target to ^58.0.0 and re-pins templates.json to this PR's merged commit.

Part of BOLT-911

🤖 Generated with Claude Code

Store Expo Go now only supports SDK 58, so new Bolt Expo projects on
SDK 57 fail with an incompatible-project error when scanned.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@bolt-new-by-stackblitz

Copy link
Copy Markdown

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@Nemikolh

Copy link
Copy Markdown
Member

Hey @Aslemammad! Could you open a separate PR to fix CI? I think this broke after GitHub updated the default base image for their cloud runners.

@Aslemammad
Aslemammad merged commit 4296ab6 into main Nov 17, 2026
2 of 3 checks passed
@Aslemammad
Aslemammad deleted the mohammad/bolt-911-expo-sdk-58 branch November 17, 2026 02:53
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