Upgrade SDK 52 to SDK 53 #158389
Replies: 3 comments
-
|
Hey, Andrey. When working with Expo, I always encounter with this kind of issues. Particularly when I'm trying to build the app. The docs always help: Upgrade Docs Step-by-Step Guide to Upgrade from Expo SDK 52 to 53Major Differences Between SDK 52 and 53In SDK 53, the New Architecture is enabled by default for all projects, whereas in SDK 52 it was optional. This is a significant change that impacts compatibility with certain libraries. Other major changes include:
Upgrade Process1. Update Expo CLI and EAS CLI (if you use it)2. Update Expo and DependenciesInstall the new SDK and update dependencies: If you don't use Continuous Native Generation: 4. Verify Environment RequirementsMake sure you have:
5. Run Expo Doctor to Check for Issues6. Consider Opting Out of New Architecture if NeededIf you encounter issues with the New Architecture, you can opt out temporarily by adding to your app.json: 7. Test Your AppTest your app thoroughly in development mode first: Common Errors and Solutions
Tips for a Smoother Upgrade
|
Beta Was this translation helpful? Give feedback.
-
|
I got fix for all the warnings and errors, but this one i don´t understand what is causing the error: ERROR Warning: TypeError: Cannot read property 'getState' of undefined This error is located at: Call Stack I don´t sure it the error is in layout.tsx or in index.tsx, because the terminal and Expo Go are different: |
Beta Was this translation helpful? Give feedback.
-
|
I found the line error by using console.log("1"), console.log("2"), console.log("3")... The error was in this line...
Here is the code...
I found this in the Expo Router Docs (): Deprecated Use useNavigationContainerRef instead, which returns a React ref. useRootNavigation() So I replace by:
|
Beta Was this translation helpful? Give feedback.




Uh oh!
There was an error while loading. Please reload this page.
-
I need to upgrade my project from SDK 52 to 53 to continue using Expo Go in IOS, but i got so many errors that i think i do something wrong.
What i have to do to upgrade this?
Is there a big diference between 52 and 53?
I don’t know the archive of the error to fix it.
What is the step by step?
Beta Was this translation helpful? Give feedback.
All reactions