cordovarduino
cordovarduino copied to clipboard
Crashes the application on serial.open and no device found on request.permission
Application has stopped working error once I call the function to connect to serial. Was working 2 months ago, now it simply crashes. On request permission I get no device found, on any driver or any setting. I tried everything I could for past few days...
To Reproduce Please share the following:
- Version of cordovarduino (latest) / cordova 10.0.0
- No idea, it is fiscal printer, I use the plugin to send and receive hex values.
- I use tablet 5.0.1, tablet 8.0, Razor phone 2 9.0, Tesla smartphone 8.1, and some other devices.
Expected behavior Connect to device via usb and send/receive hex strings.
Hi @xacegod, did you find any solution? I'm facing the same problem with an rfid reader device. I get permissions on request but then the app crashes.
EDIT: It turns out I was using the wrong driver. The CdcAcmSerialDriver crashed the whole app, while others simply gave error messages. FtdiSerialDriver was the one I'm now using.