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
Error recorded on my crash logging service sentry
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
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.