AmolGangadhare / flutter_barcode_scanner

Barcode scanner plugin for flutter. Supports barcode scanning for Android and iOS
https://pub.dev/packages/flutter_barcode_scanner
MIT License
382 stars 505 forks source link

Android cannot scan the QR code #157

Open mulieli opened 3 years ago

mulieli commented 3 years ago

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

zigapovhe commented 3 years ago

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

sawirricardo commented 3 years ago

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

Emerica commented 3 years ago

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.

MohammadMobasher commented 3 years ago

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.

pdivita commented 2 years ago

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.

cracket commented 1 year ago

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)