shaxxx / flutter_barcode_listener

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

Scanned URL changed from : to ; #37

Open madhumitha998 opened 1 year ago

madhumitha998 commented 1 year ago

The https:// is changed to https;// when scanned

fgarcia78 commented 12 months ago

Having the same problem. We're using a regex to replace the problematic characters. In our use case, we're scanning some JSON data, and it's scanned like this:

For this JSON: { "code": 1234, "account": "80921", "method": 0 }

the scanned string we get is as following: [ 'code'; 1234, 'account'; '80921'; 'method'; 0 ]

So, as stated above, we're using regex to obtain the correct JSON. Not optimal but it works.

SchrodingersGat commented 9 months ago

Looks to be the same issue as https://github.com/shaxxx/flutter_barcode_listener/issues/41