Answer the question
In order to leave comments, you need to log in
How to manually connect the plugin in phonegap?
That is, without the development environment tools phonegap (cordova), npm, etc.
I'm just getting started with phonegap but would like to work with plugins (n: PhoneGap Plugin BarcodeScanner ).
While I'm working in sublime text as usual with HTML, I compile the project via build.phonegap.com, then I test it in my android device...
Attempts (all attempts to connect the plugin leading to not installing the application after compilation):
<plugin name="com.phonegap.plugins.barcodescanner" spec="2.0.0" source="pgb" />
, using the code in the example<script src="barcodescanner.js"></script>
in/www/index.html
<plugin name="com.phonegap.plugins.barcodescanner" />
in config.xml
, using the code in the example, + item number 2 and copying the plugin from github to a local folder/plugins
/config.xml
folder . Projects without plugins, that is, with regular HTML / CSS / JS, are compiled, installed and work fine! /www
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question