openfoodfacts / openfoodfacts-cordova-app-old-with-blob

Open Food Facts App in Cordova (Android)
Other
83 stars 48 forks source link

Use new Cordova scheme #20

Closed dalb8 closed 10 years ago

dalb8 commented 10 years ago

I had difficulty getting the app to build properly (issue #17) because there are no instructions on adding the Barcode Scanner plugin library. So I created a new Cordova project , moved the assets/www to cordova/www, the res/xml/config.xml to cordova/config.xml; AndroidManifest.xml, res/ across to cordova/platforms/android/ and changed DroidGap to CordovaActivity in the java file and updated the README with instructions on how to add the Barcode Scanner plugin and build the app with the cordova.

I'm no programmer and only just got to grips with Cordova yesterday, but the apps seems to work OK for me this way.

dalb8 commented 10 years ago

I found out how to build it with phonegap/plugman rather than cordova as described in #17, so rather than mess up the whole repo I'll close this.

There was something wrong anyway. The camera wouldn't open and scans wouldn't fetch data on the first try.