gluonhq / attach

GNU General Public License v3.0
48 stars 26 forks source link

Improve QR Code Scanning on Android #371

Open LordTylus opened 11 months ago

LordTylus commented 11 months ago

Hello there,

we are using the Barcode Service to scan QR Codes our Customers can use to share data. This mostly works fine. But on Android we noticed a lot of shortcomings.

On our Google Pixel 6 for example, scanning seems very hard, and you have to have a certain distance to the QR Code in order to function at all. Also the camera preview in the Android activity is stretched. We are not sure if it has something to do with the difficulties in scanning the QR Code or if it's just a visual glitch. But this isn't the best Experience for the user.

Furthermore, If a scannable code is detected on Android it "freezes" the screen and highlights what it tries to scan. We notice that on some devices this preview is rotated 90 degrees and even stronger stretched, to the point it has absolutely no use for anyone.

And lastly, sometimes we notice that it does scan "something" on the QR Code. But NOT the QR Code itself. The preview highlights pretty much a line in said QR Code which seems to be a different kind of Code. We would like to specify, that we only want QR Codes to be scanned, to reduce errors.

Both the preview, and speed of the scans on iOS seem a lot more consistent and just look better.