I\'m having a native Android App which is a RfidScanner. It works fine. But when I import the Kotlin files as a Cordova plugin, it only works when the hardware is connected