This guide will explain you how to setup the app quickly using an ionic starter template. Extract the content of the downloaded zip file. The package contains two folders for ionic app and woocommerce module. Open your CMD or terminal and navigate to the place where you would like your project to be initialized (Ex. C:\projects\).
I2CSMOBILE_PACKAGE
|__ ionic
| |__ starter
| |__ full-package
|__ woocommerce
|__ ***
This product is based on ionic platform. You have to install ionic CLI if you haven't done it yet. Please refer to Installing the CLI globally
ionic start myapp "C:\I2CSMOBILE_PACKAGE\ionic\starter\www"
cd myapp
ionic plugin add cordova-plugin-device@1.1.1
ionic plugin add cordova-plugin-statusbar@2.1.0
ionic plugin add ionic-plugin-keyboard@1.0.8
ionic plugin add cordova-plugin-network-information@1.2.1
ionic plugin add https://github.com/katzer/cordova-plugin-local-notifications.git
ionic plugin add cordova-plugin-app-event@1.2.0
ionic plugin add cordova-plugin-splashscreen@3.2.2
ionic plugin add cordova-plugin-device-orientation@1.0.3
ionic plugin add cordova-plugin-whitelist@1.2.2
ionic plugin add https://github.com/vliesaputra/DeviceInformationPlugin
ionic plugin add cordova-plugin-google-analytics@0.8.1
ionic plugin add cordova-plugin-x-socialsharing@5.0.12
ionic plugin add ionic-plugin-deploy@0.5.4
ionic plugin add cordova-plugin-app-version@0.1.8
ionic plugin add onesignal-cordova-plugin@2.0.3
if you want intercom.io integration
ionic plugin add cordova-plugin-intercom@3.0.11
ionic io init
ionic platform add android
You can build the apk with following command. Make sure you have installed Android SDK on your computer before running this.
ionic build android
Or you can test the app in your web browser by entering following command. Note that you can use ionic serve to start a local development server for app dev and testing. Most of the mobile app specific features (ex. Push notifications .etc) are disabled when you run ionic serve command.
ionic serve --lab