Created
October 18, 2013 14:53
-
-
Save wicketyjarjar/7042737 to your computer and use it in GitHub Desktop.
A starting point for a basic mobile application for iOS and Android using Cordova 3.0+.
Includes many of the common plugins an app will need.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Simple iOS/Android Cordova App Setup | |
==================== | |
Mac OS X and Cordova 3.1+ | |
-------------------- | |
Firstly, update to the latest version of Cordova using this 'Terminal' command. | |
sudo npm update -g cordova | |
Make a new folder on the Desktop called 'cordova_apps' | |
Then enter the following 'Terminal' commands. | |
cd ~/Desktop/cordova_apps/ | |
cordova create HelloWorld com.mycompany.helloworld HelloWorld | |
cd HelloWorld | |
cordova platform add ios | |
cordova platform add android | |
cordova plugin add org.apache.cordova.console | |
cordova plugin add org.apache.cordova.device | |
cordova plugin add org.apache.cordova.dialogs | |
cordova plugin add org.apache.cordova.geolocation | |
cordova plugin add org.apache.cordova.inappbrowser | |
cordova plugin add org.apache.cordova.network-information | |
cordova plugin add org.apache.cordova.splashscreen | |
cordova plugin add org.apache.cordova.statusbar | |
cordova build |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment