expo built apk isn't working whereas the app works fine in simulator of Expo(Mobile app) in android

#1

I developed a Expo project using Expo XDE , its working fine in Simulator(Android App : Expo) but when i generate an apk file using the command “exp build:android” the file being generated is not working on the mobile.
it would help me if there is any guide or links to use API’s effectively in application
thank you in advance

0 Likes

#2

hi @hmadugula - one of the main differences between a published app vs one running in development mode is that the variable __DEV__ is set to false: https://docs.expo.io/versions/latest/guides/how-expo-works.html#publishingdeploying-an-expo-app-in-production

Could you make sure your app doesnt rely on that variable?

0 Likes

closed #3

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.

0 Likes