flutter_barcode_scanner
flutter_barcode_scanner copied to clipboard
Scanning can only be done from a distance (iPhone 14)
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.
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
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