Skip to content

Latest commit

 

History

History
17 lines (16 loc) · 1.03 KB

README.md

File metadata and controls

17 lines (16 loc) · 1.03 KB

Introduction

Most code is under client/www, which implemented with ionicframework, and other amazing libs and tools, include, Angular 1, requirejs, moment, lodash, grunt, etc client/mobile is used for adapt iOS and Android which based on cordova.

How to build mobile on iOS

  1. make sure cordova is installed by "npm install -g cordova"
  2. cd to mobile/bongard directory
  3. run "cordova platform add ios"
  4. add plugin for social sharing: "cordova plugin add https://github.com/EddyVerbruggen/SocialSharing-PhoneGap-Plugin.git"
  5. add pluing for admob: "cordova plugin add https://github.com/floatinghotpot/cordova-plugin-admob.git"
  6. add pluing for StatusBar management: "cordova plugin add org.apache.cordova.statusbar"
  7. run "grunt build" to build all the required assets
  8. run "rm -rf www" to remove the "www" folder
  9. run "ln -sf ../../build www" to create a symbol link to the build assets
  10. run "cordova prepare" for preparing
  11. run "cordova emulate ios" to run in simulator
  12. run "cordova run ios" to run in connected devices.