zxing-js / library

Multi-format 1D/2D barcode image processing library, usable in JavaScript ecosystem.

Home Page:https://zxing-js.github.io/library/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Not focussing correctly on iPhone 15 Pro

davidus05 opened this issue · comments

Describe the bug
When scanning a code from near, iOS switches to macro lens, which happens fast in the camera app in iOS. For ZXing, iOS seems to use the wide-lens per default and when scanning it takes seconds to focus correctly. Not a code problem from me, also happens in demo.

Expected behavior
Focus should happen immediately.

Smartphone (please complete the following information):

  • Device: iPhone 15 Pro
  • OS: iOS 17.1.2
  • Browser Safari
  • Version 17

Screenshot
File