Skip to content
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

Scanner takes too long to scan or sometimes fail on some devices in Flutter 3.19 #349

Open
muchirajunior opened this issue Apr 8, 2024 · 1 comment

Comments

@muchirajunior
Copy link

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:

  1. Invoke the scanner by calling await FlutterBarcodeScanner.scanBarcode('#ff6666', 'Cancel', true, ScanMode.BARCODE)
  2. 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!

@muchirajunior muchirajunior changed the title Scanner does not work on some devices in Flutter 3.19 Scanner takes too long to scan or sometimes fail on some devices in Flutter 3.19 Jun 10, 2024
@muchirajunior
Copy link
Author

Any recommendations

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

No branches or pull requests

1 participant