Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crashes the application on serial.open and no device found on request.permission #125

Open
xacegod opened this issue Nov 18, 2020 · 1 comment

Comments

@xacegod
Copy link

xacegod commented Nov 18, 2020

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:

  1. Version of cordovarduino (latest) / cordova 10.0.0
  2. No idea, it is fiscal printer, I use the plugin to send and receive hex values.
  3. 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.

@mvaljento
Copy link

mvaljento commented Nov 23, 2020

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants