Skip to content

Open Food Facts mobile app, developed with Cordova, for iOS, Android, Windows Phone, FirefoxOS etc.

Notifications You must be signed in to change notification settings

openfoodfacts/openfoodfacts-cordova-app

Repository files navigation

Open Food Facts Cordova mobile app

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.

Build

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

Plugins should be automatically installed

  • cordova-plugin-whitelist
  • phonegap-plugin-barcodescanner
  • cordova-plugin-camera
  • cordova-plugin-tts
  • cordova-plugin-file
  • cordova-plugin-statusbar

Development notes

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

What is Open Food Facts?

A Beauty products database

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.

Made by everyone

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.

For everyone

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!

Translate Open Food Facts in your language

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

Bugs and feature requests

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.

About

Open Food Facts mobile app, developed with Cordova, for iOS, Android, Windows Phone, FirefoxOS etc.

Topics

Resources

Security policy

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published