This guide will help you to build the mobile app for the project.
- Node.js (tested with v20.11.0)
- npm & pnpm (tested with v8.15.5)
- Android Studio with Android SDK (for Android)
- Run the following command to install the dependencies:
# for now we can't use npm or yarn because of the issue with the dependencies.
pnpm install
- Run the following command to build the app:
pnpm run build
- Run this following command to sync the app with the native project:
npx cap sync
- Run the following command to open the app in the emulator:
npx cap open android
# NOTE: if you encounter an error, try manually opening the project in Android Studio
Another option to build the mobile app is by using Appflow. Appflow is a CI/CD service that can help you to build the app automatically.
-
Sign in to Appflow using your Ionic account or create a new account if you don't have one.