Jump to content

Mobile App/Cordova Development Notes: Difference between revisions

no edit summary
No edit summary
Line 3: Line 3:
The current Open Food Facts apps for iOS, Android and Windows Phone use Apache Cordova (previously known as Phonegap).
The current Open Food Facts apps for iOS, Android and Windows Phone use Apache Cordova (previously known as Phonegap).


== Installing Cordova on your machine ==
Cordova: http://cordova.apache.org/
Cordova: http://cordova.apache.org/


Line 11: Line 13:
Following notes are for the Windows Platform, but most of it probably applies for Mac or Linux.
Following notes are for the Windows Platform, but most of it probably applies for Mac or Linux.


== Installing Node.js ==
Install Node.js
Install Node.js


Line 16: Line 19:
* Current Version: v0.10.32
* Current Version: v0.10.32


Install git client
 
== Install git client ==


* http://git-scm.com/
* http://git-scm.com/


Install Cordova
== Install Cordova ==


in git-bash client:
in git-bash client:
Line 57: Line 61:
Run SDK Manager, install Android build tools.
Run SDK Manager, install Android build tools.


== android version code ==
== Android version code ==


in config.xml : http://stackoverflow.com/questions/23001780/how-to-get-cordova-3-4-0-to-set-android-version-name-code-on-build
in config.xml : http://stackoverflow.com/questions/23001780/how-to-get-cordova-3-4-0-to-set-android-version-name-code-on-build