cordova-chainway-scanner
Version:
Cordova Chainway Scanner
34 lines (28 loc) • 1.61 kB
text/xml
<!-- autogenerated info if you for the plugin. -->
<plugin id="com.uwezo.chainScanner" version="1.0.0" xmlns="http://apache.org/cordova/ns/plugins/1.0" xmlns:android="http://schemas.android.com/apk/res/android">
<!-- name of the plugin -->
<name>chainScanner</name>
<!-- js path of the plugin -->
<js-module name="chainScanner" src="www/chainScanner.js">
<!-- cordova wireing of the plugin -->
<clobbers target="cordova.plugins.chainScanner" />
</js-module>
<!-- android platform specifications -->
<platform name="android">
<!-- autogenerated content for after install specification -->
<config-file parent="/*" target="res/xml/config.xml">
<feature name="chainScanner">
<param name="android-package" value="com.uwezo.chainScanner.chainScanner" />
</feature>
</config-file>
<!-- these tags gona a contain if, you want to put anything inside the AndroidManifest file -->
<config-file parent="/*" target="AndroidManifest.xml">
</config-file>
<!-- paths of various JAVA files in your plugin and there after install specification according to the package name, you provided -->
<!-- here we mean take .java file from src->android->chainScanner.java into the src->com->uwezo->chainScanner->chainScanner->chainScanner.java -->
<!-- for after install effect please see inside your platform android folder inside that go to src and then follow your package folder -->
<source-file src="src/android/chainScanner.java" target-dir="src/com/uwezo/chainScanner/chainScanner" />
<source-file src="src/android/libs/cw-deviceapi20180918.jar" target-dir="libs" />
</platform>
</plugin>