Mobile App/Cordova Development Notes: Difference between revisions

From Open Food Facts wiki
No edit summary
Line 47: Line 47:


* https://developer.mozilla.org/en-US/Firefox_OS/Using_the_App_Manager
* https://developer.mozilla.org/en-US/Firefox_OS/Using_the_App_Manager
* https://github.com/gasolin/qrcode_scanner/


== May be of interest for future apps ==
== May be of interest for future apps ==


* http://ionicframework.com/
* http://ionicframework.com/

Revision as of 20:50, 11 October 2014

This page contains notes regarding the development of the Open Food Facts mobile apps.

The current Open Food Facts apps for iOS, Android and Windows Phone use Apache Cordova (previously known as Phonegap).

Cordova: http://cordova.apache.org/

Installing Cordova 3.6 : http://cordova.apache.org/docs/en/3.6.0/guide_overview_index.md.html

http://cordova.apache.org/docs/en/3.6.0/guide_cli_index.md.html#The%20Command-Line%20Interface

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

Install Node.js

Install git client

Install Cordova

in git-bash client:

  • npm install -g cordova

cordova -v : 3.6.3-0.2.13

  • "error android_home is not set and android command not in your path" when doing "cordova platform add android"

Java JDK

Cordova plugins

Firefox OS

May be of interest for future apps