Hi Rijesh,
Thanks for publishing this library. I have been trying to get it work with my device over the last few days. I have it loading and compiling in Android however it does not seem to be able to communicate with the printer. I have noticed a warning message in the build log:
aidl.cpp:581] refusing to generate code from aidl file defining parcelable
I am declaring the sunmiInnerPrinter below my imports in my Typescript file and my ng build / npx cap sync all
I am seeing the following errors in Android Studio:
I/Capacitor/Console: File: http://localhost/vendor.js - Line 86038 - Msg: Communicating with printer V/Capacitor/Plugin: To native (Cordova plugin): callbackId: INVALID, service: Printer, action: getPrinterVersion, actionArgs: [] V/Capacitor/Plugin: To native (Cordova plugin): callbackId: INVALID, service: Printer, action: getPrinterSerialNo, actionArgs: [] V/Capacitor/Plugin: To native (Cordova plugin): callbackId: INVALID, service: Printer, action: getPrinterVersion, actionArgs: [] V/Capacitor/Plugin: To native (Cordova plugin): callbackId: INVALID, service: Printer, action: printerInit, actionArgs: [] I/SunmiInnerPrinter: onRunResult:true E/gh: path /sys/printer_pin/printer/busy_cts E/gh: path /sys/printer_pin/printer/block_cts /sys/printer_pin/printer/block_rts
Any ideas where it may be going wrong?
Hi Rijesh, Thanks for publishing this library. I have been trying to get it work with my device over the last few days. I have it loading and compiling in Android however it does not seem to be able to communicate with the printer. I have noticed a warning message in the build log:
aidl.cpp:581] refusing to generate code from aidl file defining parcelable
I am declaring the sunmiInnerPrinter below my imports in my Typescript file and my ng build / npx cap sync all
I am seeing the following errors in Android Studio:
I/Capacitor/Console: File: http://localhost/vendor.js - Line 86038 - Msg: Communicating with printer V/Capacitor/Plugin: To native (Cordova plugin): callbackId: INVALID, service: Printer, action: getPrinterVersion, actionArgs: [] V/Capacitor/Plugin: To native (Cordova plugin): callbackId: INVALID, service: Printer, action: getPrinterSerialNo, actionArgs: [] V/Capacitor/Plugin: To native (Cordova plugin): callbackId: INVALID, service: Printer, action: getPrinterVersion, actionArgs: [] V/Capacitor/Plugin: To native (Cordova plugin): callbackId: INVALID, service: Printer, action: printerInit, actionArgs: [] I/SunmiInnerPrinter: onRunResult:true E/gh: path /sys/printer_pin/printer/busy_cts E/gh: path /sys/printer_pin/printer/block_cts /sys/printer_pin/printer/block_rts
Any ideas where it may be going wrong?