got to Visual Studio and Press F5
cd app
npm install
ionic serve -d
should be available on http://localhost:8100/home
cd app
ionic serve -d
should be available on http://localhost:8100/home
Run npm install --save @capacitor/core @capacitor/cli;
Run npx cap init; ionic build; npx cap add android; npx cap open android
Run ionic build; npx cap copy; npx cap open android
Run npm install --save @capacitor/core @capacitor/cli
Run npx cap init
Run ionic build
Run npx cap add ios
Run npx cap add android
Run npx cap open ios
Run npx cap open android
Run ionic build; npx cap copy
Run npm install -g cordova-res
Generate Asset Bundle for IOS and Android
Run cordova-res
Structure should be like
resources/
├── android
| ├── icon-background.png
| └── icon-foreground.png
├── icon.png
└── splash.png
config.xml
resources/icon.(png|jpg)
must be at least 1024×1024pxresources/splash.(png|jpg)
must be at least 2732×2732px
Add generated images to native project
Run cordova-res android --skip-config --copy or cordova-res ios --skip-config