zxing-js/library

Not focussing correctly on iPhone 15 Pro

davidus05 opened this issue · 1 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

Stale issue message