This application is based on Apache Cordova framework which allows you to develop for multiple platforms (iOS, Android, Firefox OS for a few of them) at the same time.
Here are the steps to build and test the application. Be aware that it's an alpha version at the moment.
First, clone it.
Then, will need Apache Cordova installed and you may use a Firefox Developer Edition on version 39 at least; it provides developing tools for Cordova framework.
To install Apache Cordova, you can use Node Package Manager.
npm install -g cordova
Install also the platforms you need. For example
cordova platform add firefoxos
or
cordova platform add ios
Use cordova platform
to know which platform you can install.
Now, run Firefox Developer Edition and open WebIDE (Shift+F8). Click Projects
and Open Packaged App... and find the cloned repository of cordova-app
. You
should now have the application opened in WebIDE and you can run it into a
Firefox OS simulator or onto your FirefoxOS phone.
Plugins should be automatically installed
- cordova-plugin-whitelist
- phonegap-plugin-barcodescanner
- cordova-plugin-camera
- cordova-plugin-tts
- cordova-plugin-file
- cordova-plugin-statusbar
Instructions for Android and the version of the app that uses the Moodstocks scanner plugin (iOS and Android only) https://en.wiki.openfoodfacts.org/Mobile_App_Development_Notes
Open Food Facts is a database of beauty products with ingredients, allergens facts and all the tidbits of information we can find on product labels. It's a sister product of Open Food Facts.
Open Food Facts is a non-profit association of volunteers. 1800+ contributors like you have added 43 000+ products from 150 countries using our Android, iPhone or Windows Phone app or their camera to scan barcodes and upload pictures of products and their labels.
Data about beauty products is of public interest and has to be open. The complete database is published as open data and can be reused by anyone and for any use. Check-out the cool reuses or make your own!
You can help translate Open Food Facts and the app at (no technical knowledge required, takes a minute to signup):
https://translate.openfoodfacts.org/project/openfoodfacts
Have a bug or a feature request? Please search for existing and closed issues. If your problem or idea is not addressed yet, please open a new issue.