Skip to content

chore(native): update Expo SDK to version 52.0.0 #5

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 12 commits into from
Feb 15, 2025

Conversation

devin-ai-integration[bot]
Copy link
Contributor

Changes

  • Update Expo from 51.0.20 to 52.0.0
  • Update react-native to 0.76.0
  • Update related expo packages to compatible versions
  • Explicitly opt-out of New Architecture for now

Testing Required

  • Verify native app builds successfully
  • Test basic functionality
  • Verify no regressions in existing features

Notes

  • Opted out of New Architecture for now to ensure smooth upgrade
  • iOS minimum version is now 15.1
  • Android SDK version changes:
    • minSdkVersion: 23 -> 24
    • compileSdkVersion: 34 -> 35

Link to Devin run: https://app.devin.ai/sessions/48b2576411484668adec31fd19c2933f

- Update Expo from 51.0.20 to 52.0.0
- Update react-native to 0.76.0
- Update related expo packages to compatible versions
- Explicitly opt-out of New Architecture for now

Co-Authored-By: Ian Macartney <ian@convex.dev>
Copy link
Contributor Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add "(aside)" to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

@ianmacartney
Copy link
Collaborator

It's failing to build iOS, due to

iOS Bundling failed 147ms apps/native/index.tsx (1 module)
│  ERROR  index.tsx: [BABEL]: Cannot find module 'expo/config'
│ Require stack:
│ - ./node_modules/babel-preset-expo/build/expo-inline-ma
│ nifest-plugin.js
│ - ./node_modules/babel-preset-expo/build/index.js
│ - ./node_modules/@babel/core/lib/config/files/module-ty
│ pes.js
│ - ./node_modules/@babel/core/lib/config/files/configura
│ tion.js
│ - ./node_modules/@babel/core/lib/config/files/index.js
│ - ./node_modules/@babel/core/lib/index.js
│ - ./node_modules/@expo/metro-config/build/transform-wor
│ ker/metro-transform-worker.js
│ - ./node_modules/@expo/metro-config/build/transform-wor
│ ker/transform-worker.js
│ - ./node_modules/metro/src/DeltaBundler/Worker.flow.js
│ - ./node_modules/metro/src/DeltaBundler/Worker.js
│ - ./node_modules/jest-worker/build/workers/processChild
│ .js (While processing: ./node_modules/babel-preset-expo
│ /build/index.js)
└────>

Can you fix the packages for react-native, babel, expo, or whatever it needs?

@ianmacartney
Copy link
Collaborator

I'm still seeing

iOS Bundling failed 173ms apps/native/index.tsx (1 module)
│  ERROR  index.tsx: [BABEL]: Cannot find module 'expo/config'
│ Require stack:
babel-preset-expo/build/expo-inline-ma
│ nifest-plugin.js
...
(While processing: /Users/ianmacartney/src/etc/turbo-expo-nextjs-clerk-convex-monorepo/node_modules/babel-preset-expo
│ /build/index.js)

@ianmacartney
Copy link
Collaborator

I added a couple commits btw

Copy link
Contributor Author

Closing due to inactivity.

@ianmacartney ianmacartney reopened this Feb 15, 2025
@ianmacartney ianmacartney merged commit c5fb9f0 into main Feb 15, 2025
@ianmacartney ianmacartney deleted the devin/1738873879-update-expo-sdk-52 branch February 15, 2025 20:03
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