Docs
🏁 Start the app
🏁 Start the app
How to start your app.
-
Install dependencies:
yarn -
Next.js local dev:
cd apps/next- Then run
yarn devOR - Run
yarn webat the root of the monorepo
-
Expo local dev in:
- First, build a dev client onto your device or simulator
cd apps/expo- Then, either
yarn android, oryarn ios
- After building the dev client, Start Metro Server:
- Run
yarn startOR
- Run
- Start from the root of the monorepo...
yarn native(This runsexpo start --dev-client)
- First, build a dev client onto your device or simulator
Pure JS dependencies
If you're installing a JavaScript-only dependency that will be used across platforms, install it in packages/app:
cd packages/app
yarn add date-fns
cd ../..
yarn🛠️ Local Development:
Install development build on iOS: (locally - requires Xcode installed)
cd apps/expoeas build --profile development --platform ios --local- Go to diawi.com -> Drag & drop your .ipa file -> Scan code with your phone
- Go back to root directory
(cd ../.. )->yarn native
Install development build on Android: (locally - requires Android Studio installed)
cd apps/expoeas build --profile development --platform android --local- Install the generated .apk on your Phone or Emulator
- Go back to root directory
(cd ../.. )->yarn native
Install development build on iOS: (EAS Cloud Build)
eas build --profile development --platform ios- Go to expo.dev on your phone -> Find your generated .ipa build -> Tap on install
Install development build on Android: (EAS Cloud Build)
eas build --profile development --platform android- Go to expo.dev on your phone -> Find your generated .apk build -> Tap on install
Note: You will only need to make a new development build if you make any changes to native libraries. When you make any other changes, your app simply updates in real-time with hot reloading. Read more: https://docs.expo.dev/develop/development-builds/introduction/