altera2015 / usbserial

Flutter Android USB Serial plugin
BSD 3-Clause "New" or "Revised" License
121 stars 83 forks source link

App Crashes - port.open() #16

Closed broberts-nybble closed 4 years ago

broberts-nybble commented 4 years ago

Good Day,

When calling port.open(type, iface), at times it causes an entire app crash.

We have noticed it is when you pass the incorrect iface or type, when we looked a little deeper we noticed you are only catching the security exception.

Is it possible to add some further error handling to avoid the complete app crash?

altera2015 commented 4 years ago

Certainly could. If you have a patch I can include it faster!

altera2015 commented 4 years ago

Implemented ( release upcoming )