Closed jh6000 closed 4 years ago
Hi, no, it doesn't seem like byte[] is supported - you may need to fork the repo and add this type around here: https://github.com/darryncampbell/darryncampbell-cordova-plugin-intent/blob/master/src/android/IntentShim.java#L565
I am trying to use the plugin to send intents to Zebra PrintConnect as per the Zebra PrintConnect user guide. This is the Java code sample I am trying to implement using the plugin:
I pass the TEMPLATE_DATA extra like this:
I've tried a number of approaches (putting in bundle, stringyfying) but I always I receive an error in logcat that the Zebra service expected byte[] but value was a [java.lang.string or bundle].
Does the plugin handle the passing of byte arrays and if so how would you recommend doing this?