Back to all

QR/Barcode Scanner cannot be closed on Google Pixel 7

This one is pretty straightforward: the QR/Barcode Scanner cannot be closed on Google Pixel 7 devices (and presumably, other Android devices with a camera punch-out in the display). This is because the "Cancel" button is directly behind the camera punch-out, and not in the safe area of the display.

Gist (with a photo of the problem on a real device): https://gist.github.com/tcannonfodder/c3b8dd71148db9a961982c3667898ca1

This feels like a pretty big oversight in the native plugins; given that it's a flagship Android Device from Google itself, and that the bug is immediately visible when testing on devices. 😕

Thanks!


https://median.co/docs/qr-barcode-scanner