journeyapps / zxing-android-embedded

Barcode scanner library for Android, based on the ZXing decoder
https://journeyapps.com/
Apache License 2.0
5.68k stars 1.26k forks source link

[Android] com.google.zxing.NotFoundException on Tablet Samsung Galaxy A7 (Android 11) #652

Open jmonaniat opened 2 years ago

jmonaniat commented 2 years ago

Description of the problem:

Lib/sdk does not scan QR code on Samsung Tablet "Samsung Galaxy A7". Library keeps throwing Error in decodeCameraXImage- com.google.zxing.NotFoundException when decoding QR code (same QR code works on other devices including Samsung Tab A5, S10 and various other devices tested so far, this is the first device it fails).

code: result = reader!!.decode(binaryBitmap).text

Which library version are you using? E.g. 3.2.0. 4.1.0

Which phone/tablet are you using, and which Android version does it run? (e.g. Samsung Galaxy S5, Android 5.0) Tablet Samsung Galaxy A7 Android 11

Does the same happen on other devices or an emulator? No

Can you reproduce the issue in the sample project included with the library? If not, can you provide your own sample project or sample code that produces this error? reproducible

package com.google.zxing; public final class MultiFormatReader implements Reader {

-- /**


In the case of an error do you have a stack trace or adb logs? Error in decoding image- com.google.zxing.NotFoundException

boblepepeur commented 2 years ago

+1 same for me :(

jmonaniat commented 2 years ago

@rkistner rkistner any update on this issue, it blocking important customer operations?

qtechfiles commented 2 years ago

+1 happens the same for me. only happens on A7 samsung tablet.

jmonaniat commented 2 years ago

@rkistner @Servus7 & team, any luck looking into this?

qtechfiles commented 2 years ago

it works while scanning with the ZXing's "Barcode Scanner" app but not via the QRCodeMultiReader i have tried.

qtechfiles commented 2 years ago

@rkistner @Servus7 would be great if you can look into it =)

Servus7 commented 2 years ago

Unfortunately I switched to iOS development some years ago and im not up to date with android. Could you create an PR for this issue?

jmonaniat commented 2 years ago

@Servus7 thanks for getting back on this, is it possible to assign to right team/dev who can address this ticket?