Copy the .env file to .env.local and adjust the default values.
Then you can install dependencies and start the app:
pnpm add expo -w
npx expo install --pnpm # install dependencies in root folder
cd packages/expo-app
npm startNow this alone doesn't give you very much, because some kind of build still needs to run on some iOS/Android device or simulator. Theoretically you could use Expo Go, but this app has grown out of that limited setup quite quickly.
Follow this guide to install Xcode and set up a simulator:
https://docs.expo.dev/workflow/ios-simulator/
To get the app onto the simular, run:
pnpm run build:ios:previewand then drag the builds/preview/*.ipa file onto the simulator.
Follow this guide to install Java, Android Studio and Android Emulator:
https://docs.expo.dev/workflow/android-studio-emulator/
To get the app onto the emulator, run:
pnpm run build:android:previewand then drag the builds/preview/*.apk file onto the emulator.
In Xcode, open Window > Devices & Simulators. Connect you phone or whatever via USB once if it's not already listed under Devices and then run:
pnpm run build:ios:devDrag the builds/dev/*.ipa file onto the "Installed Apps" section for your device to install the app.
If the app doesn't seem to install you may need to focus the Xcode device window because it may need to reconnect.
TODO
pnpm run build:android:devTODO
- Open Settings: Go to your device’s Settings.
- Navigate to Privacy & Security: Scroll down and tap on Privacy & Security.
- Activate Developer Mode: Scroll to the bottom and find Developer Mode. Tap it.
- Expo
- React Native
- React Navigation
- Jazz