This repositoy contains the source code for the Doora companion app for Android and iOS.
- NPM
- Node.js
- Android Studio and/ or Xcode, depending on the target platform
Download and install Ionic, Capacitor, Vue, and all the other dependencies using NPM.
npm install # (--dev)
Run a development server and open using the default browser:
npx ionic serve
Builds the web project, copies it to native platforms and updates native plugins and dependencies:
npx ionic build && npx cap copy
npx cap sync --inline
Open Android Studio (adjust path to your needs):
CAPACITOR_ANDROID_STUDIO_PATH=/usr/bin/android-studio npx cap open android
Open Xcode:
npx cap open ios
After this step you can use the build command of Android Studio / Xcode to build the native app and generate packages.
Re-generate OpenAPI client (assuming the backend is running locally):
npx openapi -i http://localhost:8080/v3/api-docs -o src/doora-api-client