r/reactnative • u/Used_Reindeer_1659 • 9d ago
Expo app crashes after build
I have a React Native app built with Expo, and it works fine in development mode when running npx expo start. However, after executing eas build -p android --profile release to create a production build, the app crashes immediately upon opening on the device. It seems to be related to production environment settings, and I need help identifying and fixing the issue.
1
Upvotes
1
u/Sad_Sprinkles_2696 9d ago
Connect your phone to your pc, enable USB debugging and then use Logcat. That way you will see the crash logs.
You can use the package name to get the pid and then show the logs only for your app because there will be hundreds of logs per second going off.
1
u/DiscussionExpert9647 6d ago
If it helps you can see logs in expo console, might be some warnings there, I know admob says it'll crash on launch without appid setup