Jump to content

Mobile App/Cordova Development Notes: Difference between revisions

no edit summary
No edit summary
Line 75: Line 75:
== iOS specific issues ==
== iOS specific issues ==


== Android version code ==
== Android specific issues ==
=== Android version code ===


in config.xml : http://stackoverflow.com/questions/23001780/how-to-get-cordova-3-4-0-to-set-android-version-name-code-on-build
in config.xml : http://stackoverflow.com/questions/23001780/how-to-get-cordova-3-4-0-to-set-android-version-name-code-on-build
Line 81: Line 82:




=== Install Moodstocks ===
Β 
== Cordova plugins ==
Β 
* http://plugins.cordova.io/#/package/com.phonegap.plugins.barcodescanner
Β 
=== Camera, File, File transfer plugins ===
Install the various plugins
<pre>
cordova plugin add org.apache.cordova.camera
cordova plugin add org.apache.cordova.file
cordova plugin add org.apache.cordova.file-transfer
</pre>
Β 
=== Barcode scanning plugin ===
You may also have to install Apache Cordova plugin for barcode scanning.
<pre>
cordova plugin add com.phonegap.plugins.barcodescanner
</pre>
Β 
=== Moodstocks ===
==== Install Moodstocks ====


* https://moodstocks.com/docs/phonegap/using-the-moodstocks-sdk-in-your-phonegap-application/
* https://moodstocks.com/docs/phonegap/using-the-moodstocks-sdk-in-your-phonegap-application/
Line 105: Line 126:
</pre>
</pre>


=== Moodstocks Bugs ===
==== Moodstocks Bugs ====


The following pops up on the 2nd scan with Moodstocks:
The following pops up on the 2nd scan with Moodstocks:
Line 113: Line 134:
-> Problem with jQuerymobile not "exiting" properly from scan when clicking on "Back" ?
-> Problem with jQuerymobile not "exiting" properly from scan when clicking on "Back" ?


=== Moodstocks plugin tutorial ===
==== Moodstocks plugin tutorial ====
* https://moodstocks.com/docs/phonegap/using-the-moodstocks-sdk-in-your-phonegap-application/
* https://moodstocks.com/docs/phonegap/using-the-moodstocks-sdk-in-your-phonegap-application/
== Cordova plugins ==
* http://plugins.cordova.io/#/package/com.phonegap.plugins.barcodescanner
=== Camera, File, File transfer plugins ===
Install the various plugins
<pre>
cordova plugin add org.apache.cordova.camera
cordova plugin add org.apache.cordova.file
cordova plugin add org.apache.cordova.file-transfer
</pre>
=== Barcode scanning plugin ===
You may also have to install Apache Cordova plugin for barcode scanning.
<pre>
cordova plugin add com.phonegap.plugins.barcodescanner
</pre>
== Firefox OS ==
== Firefox OS ==
[https://openfoodfacts.slack.com/messages/firefoxos See #firefoxos on Slack]
[https://openfoodfacts.slack.com/messages/firefoxos See #firefoxos on Slack]