SunmiPrinter.getPrinterVersion() always returns -1 even though the printer is connected and the text is printed after calling printText(). It is not possible to find out if the printer is connected or not because all functions return undefined except getPrinterStatus which returns {"code":"-1", "message": "Printer is not connected or powered on!"}
"react-native": "0.73.6",
"react-native-printer-imin": "0.5.0"
IMIN D1 - I21D01