fixes to get it to at least fail to compile
This commit is contained in:
parent
5006867071
commit
7edf208159
@ -48,7 +48,7 @@
|
|||||||
<source-file src="src/ios/ZebraPrinterPlugin.swift" />
|
<source-file src="src/ios/ZebraPrinterPlugin.swift" />
|
||||||
</platform>
|
</platform>
|
||||||
<platform name="android">
|
<platform name="android">
|
||||||
<config-file parent="/*" target="res/xml/config.xml">
|
<config-file parent="/*" target="config.xml">
|
||||||
<feature name="ZebraPrinter">
|
<feature name="ZebraPrinter">
|
||||||
<param name="android-package" value="com.apache.cordova.plugins.zebra.ZebraPrinter" />
|
<param name="android-package" value="com.apache.cordova.plugins.zebra.ZebraPrinter" />
|
||||||
</feature>
|
</feature>
|
||||||
@ -58,6 +58,6 @@
|
|||||||
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN" />
|
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN" />
|
||||||
</config-file>
|
</config-file>
|
||||||
<source-file src="src/android/com/apache/cordova/plugins/zebra/ZebraPrinter.java" target-dir="src/com/apache/cordova/plugins/zebra/" />
|
<source-file src="src/android/com/apache/cordova/plugins/zebra/ZebraPrinter.java" target-dir="src/com/apache/cordova/plugins/zebra/" />
|
||||||
<source-file src="src/android/libs/ZSDK_ANDROID_API.jar" target-dir="libs"/>
|
<source-file src="src/android/lib/ZSDK_ANDROID_API.jar" target-dir="libs"/>
|
||||||
</platform>
|
</platform>
|
||||||
</plugin>
|
</plugin>
|
@ -31,6 +31,7 @@ public class ZebraPrinter extends CordovaPlugin {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean execute(String action, JSONArray args, CallbackContext callbackContext) throws JSONException {
|
public boolean execute(String action, JSONArray args, CallbackContext callbackContext) throws JSONException {
|
||||||
|
Log.v("EMO", "Execute on ZebraPrinter Plygin called");
|
||||||
if (action.equals("echo")) {
|
if (action.equals("echo")) {
|
||||||
String message = args.getString(0);
|
String message = args.getString(0);
|
||||||
this.echo(message, callbackContext);
|
this.echo(message, callbackContext);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user