flutter_barcode_scanner icon indicating copy to clipboard operation
flutter_barcode_scanner copied to clipboard

Android cannot scan the QR code

Open mulieli opened this issue 3 years ago • 6 comments

Under Android, there is no response when scanning the QR code, it is always scanning

mulieli avatar Feb 03 '21 11:02 mulieli

@mulieli That's barcode(2D) scanner not QR Code(3D). You will have to use a different package for that.

zigapovhe avatar Feb 06 '21 19:02 zigapovhe

Hi @zigapovhe the scanMode states that there is QR mode. I assume this packge can scan QR?

sawirricardo avatar Feb 09 '21 09:02 sawirricardo

Emulator? I've tried attaching QR codes to the wall and table in the emulator and they fail to scan.

But I've then loaded the same code onto an Nvidia shield tablet and things scan fine ok. QR codes included. There appears to be two modes, but this doesn't seem to actually do much, you can scan either type of code in either mode.

Emerica avatar Feb 14 '21 03:02 Emerica

hi same issue, and i use this web site for creating barcode, but i got always this warning and never recognize the barcode.

the error : W/BarcodeNativeHandle(22604): Native handle not yet available. Reverting to no-op handle. W/DynamiteModule(22604): Local module descriptor class for com.google.android.gms.vision.dynamite.barcode not found. I/DynamiteModule(22604): Considering local module com.google.android.gms.vision.dynamite.barcode:0 and remote module com.google.android.gms.vision.dynamite.barcode:0 W/DynamiteModule(22604): Local module descriptor class for com.google.android.gms.vision.barcode not found. I/DynamiteModule(22604): Considering local module com.google.android.gms.vision.barcode:0 and remote module com.google.android.gms.vision.barcode:0 E/Vision (22604): Error loading optional module com.google.android.gms.vision.barcode: com.google.android.gms.dynamite.DynamiteModule$LoadingException: No acceptable module found. Local version is 0 and remote version is 0.

MohammadMobasher avatar Jun 09 '21 19:06 MohammadMobasher

Scanning QR codes doesn't work on emulator (I guess because I'm using a system image WITHOUT Play Services), but WORKS on real device.

pdivita avatar Dec 03 '21 11:12 pdivita

Tested on emulator WITH Play Services and scanner is not scanning too. However the same emulator with other app is scanning QR codes very well. I even tried to connect real camera to emulator. Library not working too (bundled within other apk)

cracket avatar Jan 18 '23 03:01 cracket