flutter_barcode_scanner icon indicating copy to clipboard operation
flutter_barcode_scanner copied to clipboard

Scanning can only be done from a distance (iPhone 14)

Open masanggil1986 opened this issue 3 years ago • 2 comments

Describe the bug Scanning can only be done from a distance (iPhone 14)

Expected behavior Able to scan when the camera is close to the barcode.

Smartphone (please complete the following information):

  • Device: iPhone14
  • OS: iOS16.0.2
  • Version 2.0.0

Additional context Often other barcodes around the target are scanned instead.

masanggil1986 avatar Oct 05 '22 01:10 masanggil1986

i could even take build on iphone, Library not loaded: @rpath/libswiftCore.dylib Referenced from: <7C4412C7-2C11-35E5-A41F-20CCB7007BE7> i have tried different packages, nothing works proper

shobith10 avatar Oct 25 '22 11:10 shobith10

Same problem here.

It works fine on my iPhone 11. But on the iPhone 14 Pro, the camera can only focus from quite a distance. I tried launching the default camera app and had no problems focusing much closer. When testing with the examples in this package, the camera can only focus at a much greater distance than the default camera.

The video below shows how the camera focuses well even at close range when using the default camera on the iPhone 14 Pro.

https://github.com/AmolGangadhare/flutter_barcode_scanner/assets/70277412/6072c1de-f2b0-4c0a-91b8-3d847deb80a4

The video below shows the camera not focusing at close range when using the flutter_barcode_scanner package.

https://github.com/AmolGangadhare/flutter_barcode_scanner/assets/70277412/6625ed63-c996-4905-bf18-dab13c67a6da

tony-soft avatar May 14 '23 11:05 tony-soft