Skip to content

Latest commit

 

History

History
57 lines (37 loc) · 1.33 KB

setup-mobile.md

File metadata and controls

57 lines (37 loc) · 1.33 KB

Getting Started to build the mobile app 🚀

Introduction

This guide will help you to build the mobile app for the project.

Pre-requisites

  • Node.js (tested with v20.11.0)
  • npm & pnpm (tested with v8.15.5)
  • Android Studio with Android SDK (for Android)

How to build the mobile app

  1. 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
  1. Run the following command to build the app:
pnpm run build
  1. Run this following command to sync the app with the native project:
npx cap sync
  1. 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

How to build with Appflow

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.

  1. Sign in to Appflow using your Ionic account or create a new account if you don't have one. img.png

  2. Create a new app in Appflow img.png

References:

  1. Capacitor Android Documentation
  2. Appflow