Skip to content

Instantly share code, notes, and snippets.

@mribbons
Created March 7, 2016 11:00
Show Gist options
  • Select an option

  • Save mribbons/893935f94431b7a92d54 to your computer and use it in GitHub Desktop.

Select an option

Save mribbons/893935f94431b7a92d54 to your computer and use it in GitHub Desktop.
rs30 test plugin
<?xml version='1.0' encoding='utf-8'?>
<!--
This file is part of Apache Cordova Barcode Scanner Plugin for Cipherlab RS30,
which shall be referred to as "the Software"
The Software is authored by Michael Ribbons who shall be referred to as "the Author".
The MDR License (MDR)
Copyright (c) 2015 Michael Ribbons
Use of the Software is granted on a case by case basis.
Permission is NOT hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, or to permit persons to whom the Software is
furnished to do so.
In the event that permission to use the Software is granted by the Author,
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
-->
<plugin
id="cordova-plugin-cipherlab-rs30"
version="0.0.3"
xmlns="http://apache.org/cordova/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android">
<description>Apache Cordova Barcode Scanner Plugin for Cipherlab RS30</description>
<license>MDR</license>
<name>CipherlabRS30CordovaPlugin</name>
<js-module name="CipherlabRS30CordovaPlugin" src="www/CipherlabRS30CordovaPlugin.js">
<clobbers target="cordova.plugins.CipherlabRS30CordovaPlugin" />
</js-module><platform name="android">
<config-file parent="/*" target="res/xml/config.xml">
<feature name="CipherlabRS30CordovaPlugin">
<param name="android-package" value="au.com.micropacific.cordova" />
</feature>
</config-file>
<config-file parent="/*" target="AndroidManifest.xml">
</config-file>
<source-file src="src/android/au/com/micropacific/cordova/CipherlabRS30Plugin.java" target-dir="src/au/com/micropacific/cordova/CipherlabRS30CordovaPlugin" />
<source-file src="src/android/au/com/micropacific/cordova/DataReceiver.java" target-dir="src/au/com/micropacific/cordova/CipherlabRS30CordovaPlugin" />
<source-file src="src/android/BarcodeAPI.jar" target-dir="libs"/>
</platform>
</plugin>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment