shaxxx / flutter_barcode_listener

Flutter widget to listen for scanned barcode via hardware scanners
MIT License
45 stars 46 forks source link

Modifier keys detection #20

Closed samuelbednarcik closed 8 months ago

samuelbednarcik commented 2 years ago

OS: Android

If I create a QR code with text MIK.SUZ.SKO.0140.0001, it returns wrong characters ( > instead of . char ). It probably thinks that the SHIFT key is still pressed. For now, I solved the issue by using plainCodePoint instead of codePoint property on RayKeyboardAndroid object and calling uppercase on scanned code.

I don't know how this should be handled, if I use the scanner when focused on some input, it writes correct code.

SchrodingersGat commented 9 months ago

I think this is the same issue as https://github.com/shaxxx/flutter_barcode_listener/issues/41

shaxxx commented 8 months ago

Please check new version.