If needed, there is a guide depending on what you want to build/launch in the Expo documentation
node
v18+yarn
v3- Android Studio / Xcode
- The
Expo Go
application on your mobile phone
To install yarn
, run
npm install --global yarn
Run yarn
to install dependencies
Copy .env file
cp .env.template .env
- Run Expo
yarn start
- Open Expo Go or scan the QR code.
- You can also open the devtool console by typing
d
in the terminal
If you changed some environment variable, you might need to reset the cache:
npx expo start --reset-cache
- Run web, copy the lan IP e.g
192.168.x.y
- Update your
EXPO_PUBLIC_LOCAL_URI
in the .env with the related IP - Run the mobile app using this command (note the --reset-cache option, it's necessary for Metro to reload the .env file):
npx expo start --reset-cache
- Install Expo Go
- Launch ShapeShift by scanning the QR code
- Select the
localhost
environment in the settings - The hotreloading should work as expected
- There is an expo command to run the iOS app:
yarn ios
- If you are struggling launching the simulator, you might want to use the prebuild command which is updating native folders:
yarn prebuild
- There is an expo command to run the iOS app:
yarn android
- Install EAS:
npm install -g eas-cli
- Send both apps:
eas build