flutter_barcode_scanner
flutter_barcode_scanner copied to clipboard
Scanner takes too long to scan or sometimes fail on some devices in Flutter 3.19
Describe the bug When i open the scanning, the camera just scans forever and does not pick QR code
To Reproduce Steps to reproduce the behavior:
- Invoke the scanner by calling
await FlutterBarcodeScanner.scanBarcode('#ff6666', 'Cancel', true, ScanMode.BARCODE) - Try to scan a QR code
Expected behavior Returns QR code content result
Screenshots In some devices it does not return, just scans forever
Smartphone (please complete the following information):
- Device: Samasung A series,
- OS: Android 13
- Browser [e.g. stock browser, safari]
- Version 13
Additional context Doctor summary (to see all details, run flutter doctor -v): [✓] Flutter (Channel stable, 3.19.4, on Kali GNU/Linux Rolling 6.5.0-kali3-amd64, locale C.UTF-8) [✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0) [✓] Chrome - develop for the web [✓] Linux toolchain - develop for Linux desktop [✓] Android Studio (version 2023.1) [✓] VS Code (version 1.85.1) [✓] Connected device (3 available) [✓] Network resources
• No issues found!
Any recommendations