IOS app crashes on first load in production build - React Native Expo

740 views Asked by At

I am in a very confusing situation where my expo built app runs perfectly fine in my local environment but after building with EAS and when I run it on TestFlight the app crashes on the first load. But surprisingly when I open again it works fine.

Errors based on App store connect crash report

enter image description here

Error recorded on my crash logging service sentry enter image description here

With current debugging I am only able to find that EXUpdatesAppController is an expo-updates module but not sure why its throwing an exception.

Would be great if someone can help me out with this as I am not too experienced with Expo and React native

1

There are 1 answers

0
AEParmaksiz On

in my specific situation my expo was SDK 47, i upgraded it to 48 and looked issueses with npx expo doctor. Some npm modules were outdated. When i upgrade them my problem is solved.

Edit: i also rebuid and resubmit the app.