yannickl/QRCodeReader.swift

Allow raw QRCode bytes

Opened this issue · 0 comments

Hello, thank you very much for the cool project!

It could be so good as QRcodeReader will be able to read raw QRcode bytes. In my current project I pack raw bytes into QR code, but default apple implementation prefers string results by reading from QR code. But raw results are also available via KVP. I've made quick-and-dirty solution here LeoSchleicher@cb19120 - I just pack raw data against string (if the string is available), and I've inserted a global property to allow to finish scanning if raw result is sufficient. I can create a merge request, but my solution is not so elegant. If you give me tips to improve, I'll made this and prepare a better solution