Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

App Crashes After Building and Installing on a real device #76

Open
CaptainEboy opened this issue Sep 13, 2022 · 3 comments
Open

App Crashes After Building and Installing on a real device #76

CaptainEboy opened this issue Sep 13, 2022 · 3 comments

Comments

@CaptainEboy
Copy link

SDK Used: Sdk 46

PLATFORM: Android

After cloning the app using ' npx create-react-native-app --template https://github.com/expo-community/expo-firebase-starter'

I test the app and it works fine on the emulator, but after building the app using EAS, the app seems to crash.

It only shows the loading screen for the app,then it crashes.

@amandeepmittal
Copy link
Collaborator

Hi @CaptainEboy, does it logs the error on crash?

@hemcharan22
Copy link

hemcharan22 commented Jan 20, 2023

I ran into similar issues as well when installing it on an Android device

platform: android 12
phone : mi

i attached the error logs below

Screenshot_2023-01-20-17-40-59-595_com miui bugreport

Screenshot_2023-01-20-17-41-05-701_com miui bugreport

@hemcharan22
Copy link

found the answer

you need to configure the environment variables in expo

image

its because your local emulator has the environment values but during production, your environment values are not available with expo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants