Clone this project, then lauch :
npm install && bower install
It will install npm dependencies and bower dependencies.
cordova platform add ios
cordova plugin add org.apache.cordova.device
cordova plugin add org.apache.cordova.statusbar
cordova plugin add https://github.com/driftyco/ionic-plugins-keyboard.git
The backend protocol (http or https), DNS and port should be configured in src/app/config.constants.js
file.
angular.module(_APP_)
.constant('BACKEND_PROTOCOL','http')
.constant('BACKEND_HOST','localhost')
.constant('BACKEND_PORT','8080');
ionic serve
Default browser will load the app, and refreshed on any code change ;)
If you want to rebuild the entire project to emulate, use the following commands:
cordova build ios
cordova emulate ios
For iOS you need to add this two lines in the plist file to hide the status bar
Status bar is initially hidden = YES
View controller-based status bar appearance = NO