npm install -g @ionic/cli native-run
ionic cap run android -l --external
npm install @capacitor/android
npx cap add android
npx cap run android
$ ionic capacitor run
$ ionic capacitor run android
$ ionic capacitor run android -l --external
$ ionic capacitor run ios --livereload --external
$ ionic capacitor run ios --livereload-url=http://localhost:8100
ionic capacitor run
ionic capacitor run android
ionic capacitor run android -l --external
ionic capacitor run ios --livereload --external
ionic capacitor run ios --livereload-url=http://localhost:8100
// if you didn't run before
ionic build
// then
npx cap add android
npx cap sync
#for v3
npm install @capacitor/motion
npx cap sync
npm install call-number
npm install @ionic-native/call-number
ionic cap sync
ionic capacitor add [options]
cd myApp
ionic integrations enable capacitor
npx cap open ios
ionic start myApp tabs --capacitor
cd myApp
// if you didn't run before
ionic build
// then
npx cap add ios
npx cap init
ionic start [appName] [appType] --capacitor
e.g. ionic start myApp blank --capacitor
ionic capacitor build