Hi everyone, I did eas build for android and without testing builded file on real device or emulator i uploaded it to play market. ( in development everything works well ) but it turns out expo throws exception in build file.
I saw that error about expo-publish and just hour ago i did expo-publish and then eas build and this time i converted aab file to apk ( with bundletool ) and installed in real device, got the same error again.
please share more information about your project. it appears to be misconfigured in some way. If it’s a bare project then debug locally by doing a release build
It is managed workflow. Also i have checked if i publish project i can scan and open app with iPhone but in android app crashes. What config files i have to share ?
there is an error message about your updates url being missing. can you send a link to your build details page? also share output of running expo diagnostics
Yes , i have built multiple times ( with eas , with expo , direcly apk format ) and every time i have faced with error.
Also tried to uninstall sentry , expo-updates , expo-devices and other modules which is sentry depends. Didn’t help. Even when i am doing expo-publish android app crashes on expo scan. ( Iphone works well with published app )
that is an aab not an apk sure, add me on github: brentvatne - although i’m not sure this will be too helpful
edit: nevermind aab is fine, i just did a manifest dump and confirmed the error message matches what i’m seeing here. i’d be interested in seeing your github repo
it looks like there might be some problems when compiling the bundle with hermes - we’ll have to investigate why the build appeared to succeed here when it shouldn’t have. noticed these errors:
Yes, it worked. Thank you! But app bundle got +10mb to size )))).
Edit: Hmm, it worked with expo publish ( scanning with qr-code ) but built (with eas Build Details — 0a82a617-369e-4279-a6f4-6a4e7daa41c2 — Bidbazaar — Expo) aab file throws same exception on physycal device ( first screen ). Hermes disabled.
What i did after your answer ( steb by step )
removed jsEngine from app.json
rebuilt with eas an aab file
published with expo and tested with physycal device ( it worked )
converted aab file to apk (with bundletool) and installed on emulator - crashed
To be sure, i uploaded to playstore downloaded aab file and tested in physycal device - crashed with the same error.