shaxxx / flutter_barcode_listener

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

Scanned barcodes and qr codes is in lowercase #41

Closed davepot04 closed 8 months ago

davepot04 commented 1 year ago

viber_image_2023-06-06_19-28-58-028

values of scanned barcodes and qr codes are all in lower case but when I don't use the package and only used a TextFormField the value is correct, i think it can't detect the if the keyevent has a shift key pressed with other character

(sorry for my bad english 😅)

fuadreza commented 1 year ago

What is the solution for this?

fuadreza commented 1 year ago

Hi @davepot04 ,

I made an update for the scanned character to be case sensitive You can see on my forked version here:

https://github.com/fuadreza/flutter_barcode_listener

SchrodingersGat commented 9 months ago

Hi @davepot04 ,

I made an update for the scanned character to be case sensitive You can see on my forked version here:

https://github.com/fuadreza/flutter_barcode_listener

@fuadreza it works really well - any chance you will be pushing to https://pub.dev/ ?

fuadreza commented 9 months ago

I have already open PR #44 , but it seems this package maintainer haven't responded yet.

SchrodingersGat commented 9 months ago

Yeah, no updates since March last year, might be dead?

shaxxx commented 9 months ago

Well, it's not so simple as you might think. Plugin is used by many people and if current working condition changes it's a breaking change, and people hate breaking changes. I'm simply waiting for feedback, and as things are, not many people are requesting this. Beside, you don't need pub.dev, you can always specify direct git link in your pubspec.yaml.

With all this said, just fix PR and I'll merge it.

SchrodingersGat commented 9 months ago

@shaxxx all fair points, hope I didn't come across poorly :)

fuadreza commented 9 months ago

Well, it's not so simple as you might think. Plugin is used by many people and if current working condition changes it's a breaking change, and people hate breaking changes. I'm simply waiting for feedback, and as things are, not many people are requesting this. Beside, you don't need pub.dev, you can always specify direct git link in your pubspec.yaml.

With all this said, just fix PR and I'll merge it.

Oh I see, I will add some option to make it optional and won't break changes.

shaxxx commented 8 months ago

Added in 0.1.4

PraveenGangula1392 commented 1 month ago

For me the issue is vice-versa , on scan ; is getting converted to : Example S24-00318;A

Output S24-00318:A