mono0926 / barcode_scan2

[reborned barcode_scan] A flutter plugin for reading 2D barcodes and QR codes.
https://pub.dev/packages/barcode_scan2
MIT License
87 stars 79 forks source link

iOS: scanning barcode from entire screen instead of scanning from cropped rectangle overlay. #91

Open appxclusive opened 3 months ago

appxclusive commented 3 months ago

Issue is in iPhone 17.6 version and above. Works fine in Android

To Reproduce Steps to reproduce the behavior:

  1. Open camera to scan barcode
  2. take slowly focus on barcode. it can scan from anywhere where barcode gets contact with camera. Or maybe sometime it scans, when barcode showing partially. Its due to wide camera angle issue which is coming from iOS 17.6 version. I have no idea.
  3. Seems like not significance of cropped rectangle overlay in which barcode should be scanned.

Expected behavior Barcode should be scanned only inside cropped rectangle overlay shows on screen.

Environment (please complete the following information):