/ionic-react-project-template

Project Template for Ionic React

Primary LanguageCSS

Ionic App Development Workflow

  • create ionic app

    ionic start <project-name> blank --type=react
  • ionic android

  • installing for android dependency

    npm i @capacitor/android
  • setting project for android

    npx cap add android
  • build ionic app

    ionic build
  • sync ionic to android

    npx cap copy android
    npx cap open android
  • navigate to android project

      cd android
  • build android app

      gradlew build
      gradlew assembleDebug
  • run the project

      adb install app\build\outputs\apk\debug\app-debug.apk