Skip to content

[iOS] Impossible to focus and scan the QR code due to picking the wide back camera #554

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
daniloapr opened this issue Mar 24, 2023 · 5 comments
Labels
ios Platform iOS

Comments

@daniloapr
Copy link

The mobile_scanner is picking the wide back camera (0.5x zoom) instead of the standard one (1.0x) in some iOS devices, and that makes it impossible to read small QR codes as the camera looses focus.

Is it possible to use the 1.0x camera as default or somehow allowing us to pick other available back cameras?

We have tested in the following devices:

  • iPhone 11: wide camera, could not scan
  • iPhone 11 Pro: wide camera, could not scan
  • iPhone 12: regular camera, could scan
  • Samsung S10: regular camera, could scan.

@juliansteenbakker Would you be willing to accept new PRs? I would appreciate if you could guide on how make this fix.

@teolemon teolemon added the ios Platform iOS label Mar 25, 2023
@danilolutti
Copy link

Same problem on iPhone 13!

@rvonkriegenbergh
Copy link

Is there any progress being made on this? Is it possible to replace the enum CameraFacing (front, back) with a method that detects all installed cameras on a device and lets us set the one we want to use? I've seen this in other camera/barcode packages, on a different platform though (Net MAUI).

@AndreasLyngholm
Copy link

I am facing the same issues!

@ewertonls
Copy link

I'm also having the same issue, but it also occurs on web in any Galaxy S

@juliansteenbakker
Copy link
Owner

I'm closing this as there is no activity, and newer versions of this plug are already released. If this still happens with the latest version let me know by commenting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ios Platform iOS
Projects
None yet
Development

No branches or pull requests

7 participants