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 dev OR
    • Run yarn web at 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, or yarn ios
    • After building the dev client, Start Metro Server:
      • Run yarn start OR
    • Start from the root of the monorepo...
      • yarn native (This runs expo start --dev-client)

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/expo
  • eas 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/expo
  • eas 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/