codenameone / CodenameOne

Cross-platform framework for building truly native mobile apps with Java or Kotlin. Write Once Run Anywhere support for iOS, Android, Desktop & Web.

Home Page:https://www.codenameone.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

codescan cannot focus/sharpen on iphone 13 after update to 15.5

ivanilavsky opened this issue · comments

I'm using codescan cn1lib for QR scan and all app users with iphone 13 after iOS update to 15.5 have troubles to scan smaller QRs (2x2cm, which they used to scan on daily basis with previous versions of iphone/iOS)

Some older iphone model do not have this problem after update to 15.5. (we tested 6 and SE).

The problem probably is that iphone 13 after iOS update to 15.5 is not able to sharpen/focus the QR as you can see in this video. There is comparison of scanning QR using camera app and our app with codescan lib.

https://www.dropbox.com/s/2xnest4jajna14t/WhatsApp%20Video%202022-06-11%20at%2015.21.34.mp4?dl=0

refs: https://www.reddit.com/r/cn1/comments/vaj11n/codescan_cannot_focussharpen_on_iphone_13_after/

This doesn't necessarily provide a fix, but it suggests that 15.5 has some known issues with the camera.
https://www.minicreo.com/ios-11-problems/fix-ios-11-camera-not-working-problems.html#:~:text=Fix%20iOS%2015.5%20Camera%20Issue%20Method%202%3A%20Remove%20iPhone%20Cases&text=An%20iOS%2015.5%20camera%20blurry,after%20updating%20to%20iOS%2015.5.

And hopefully Apple will fix them soon. It does suggest a few things to try, and it would be interesting to know if any of them help.

this does not help. Iphone as-is does not have problem to scan those small QRs. Only codescan does not work.
I created new app only with codescan with default setting. It works on iphone SE with iOS 15.5. but not on iphone 13 with iOS 15.5. Other scanner apps including the built-in works ok in iphone 13.

sample QRs which does not work with codescan on iphone 13 with iOS 15.5: https://www.dropbox.com/s/esytd43v7nw423v/smaple-qr-codes.pdf?dl=0