expo: [expo-updates] [SDK 49] Presence of expo-updates causes build to crash on launch of ios app

Minimal reproducible example

Cannot create a snack as its in the existing project

Summary

The presence of expo-updates causes production and simulator builds to crash on launch of ios app. I discovered this after upgrading a project to SDK 49

I have tried by creating a new test repo as suggested in #23382 by @wschurman and there was no crash. But when expo updates is been integrated in the existing project then the app is getting crashed at launch

Attaching the crash report file er-crash-report.log

Environment

eas update:configure npx expo run:ios --configuration Release

using below packages

"expo": "^49.0.0",
"expo-updates": "~0.18.16",
"react-native": "0.72.6",

About this issue

  • Original URL
  • State: closed
  • Created 8 months ago
  • Reactions: 2
  • Comments: 16 (5 by maintainers)

Most upvoted comments

Hello @dattx1 I am still trying to figure out the root cause of it. But you can create a new repo and copy the required files and start using expo-updates

I have created a new repo and then copied all the required files and folder from my previous project and then installed expo-updates. Finally it worked. Not sure why was it not working in the existing project. Anyways now its working