Closed augustbering closed 3 months ago
same here. Any solutions?
Well, it seems the android port is quite broken either way, for new versions of android it needs to request permissions and there's no code for that in here. So some work required there.
This is fixed in 0.4.0
Seems this issue still remains for Android https://github.com/jpnurmi/flutter_libserialport/issues/20 not sure if it's still not released for flutter_libserialport, I'm using 0.2.3 so I think that fix should have been merged. Anyway, the way I fix this is to comment out
define HAVE_STRUCT_TERMIOX 1
in my /.pub-cache/hosted/pub.dartlang.org/flutter_libserialport-0.2.3/android/libserialport/config.h