Running & Building your App

After changing Package & App name and updating API details in the source code, you are ready to run your App. Open command window or terminal inside your unzip folder and run the following commands.

cd sourcecode

Add android and ios platform to your project.

ionic cordova platform add android
ionic cordova platform add ios

If you want to run your app on your device, just connect your device to your PC with android debugging enabled or you can run it on emulator. To run android app, follow first step and for ios follow second one.

ionic cordova run android --prod
ionic cordova run ios --prod

Last updated