Currently using expo
and react native
. I'm using maestro
for E2E testing and everytime the app launches I see the Development Build page comes up first. This is pretty annoying for E2E testing. How can I get rid of that page so that maestro
tests will see the first page of the app every time on launch?
how to not have expo development build page show when app starts?
904 views Asked by monty_lennie At
1
I had to create a build with
developmentClient: false
and thenprebuild
and then build locally and then install the builds in my simulators.Note: You do not have to build locally but I was reaching my maximum EAS builds so I'm starting to do them locally.
These docs helped me...
https://docs.expo.dev/build/setup/
https://docs.expo.dev/build/eas-json/
https://docs.expo.dev/build-reference/apk/
https://docs.expo.dev/build-reference/simulators/
My updated
eas.json
Steps and commands I used to fix this were
IOS Open simulator Xcode => Open Developer Tool => Simulator
Android Open Virtual Device manager and create simulator
npx expo prebuild --clean
Removed android and ios files and creates the files againeas build -p android --profile simulator --local
Locally build android simulator and device apk (no dev tools)adb devices
See what devices are onlineadb install build-1690167210800.apk
Install app from previous buildeas build -p ios --profile simulator --local
Locally build IOS simulator build file (no dev tools) Returns something likeā¦ You can find the build artifacts in path/to/build/build-1690168440203.tar.gztar -xvzf build-1690168440203.tar.gz
xcrun simctl install booted abut.app
Test E2E using maestro
maestro test maestro