Giter Club home page Giter Club logo

openfoodfacts-cordova-app's Introduction

Open Food Facts Cordova mobile app

Build Status Stories in Ready

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

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.

Barcode scanner

You may also have to install Apache Cordova plugin for barcode scanning.

cordova plugin add com.phonegap.plugins.barcodescanner

However, this plugin is not compatible with Firefox OS (see sources on Github). It seems that there is no barcode scanner plugin for Cordova (see here).

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 food products database

Open Food Facts is a database of food products with ingredients, allergens, nutrition facts and all the tidbits of information we can find on product labels.

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 food 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://translations.launchpad.net/openfoodfacts/openfoodfacts-ios/+translations

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.

Waffle Throughput Graph

Throughput Graph

openfoodfacts-cordova-app's People

Contributors

naofum avatar stephanegigandet avatar teleboas avatar teolemon avatar woshilapin avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.