Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>You are creating this app I see by setting up the development environment yourself, and building/signing using your computer.</p> <p>I had success very quickly using <a href="http://build.phonegap.com" rel="nofollow">http://build.phonegap.com</a> - don't write it off too quickly! It has that plugin (barcode) and all I have to do is in the root of my project create a config.xml with:</p> <pre><code>&lt;!-- phonegap build config.xml syntax --&gt; &lt;?xml version="1.0" encoding="UTF-8"?&gt; &lt;widget xmlns = "http://www.w3.org/ns/widgets" xmlns:gap = "http://phonegap.com/ns/1.0" id = "com.phonegap.xxx-xxx" version = "3.0.1"&gt; &lt;name&gt;Web Remote&lt;/name&gt; &lt;description&gt; WebRemote Application &lt;/description&gt; &lt;!-- more info here--&gt; &lt;gap:plugin name="BarcodeScanner" /&gt; &lt;!-- use latest release by default --&gt; &lt;/widget&gt; </code></pre> <p>See the &lt;gap:plugin name="BarcodeScanner" />? </p> <p>That is all I have to do in phonegab build to tell it to compile my app <em>with</em> the BarcodeScanner plugin. I tried it, and it works! It is a beauty. No, this isn't how you woul do it in a native compilation, since you are building it yourself make sure you have ' in your head because your app needs to be able to talk to the native plugin (https://github.com/phonegap/phonegap-plugins/blob/master/iPhone/BarcodeScanner/barcodescanner.js if using iOS).</p> <p>By the way - you didn't mention which platform you are building for (iOS, etc) so I just assumed iOS.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload