zxing-android-embedded icon indicating copy to clipboard operation
zxing-android-embedded copied to clipboard

Samsung Galaxy S21+ - Incorrect/No Scan for Code39 Barcode

Open vigneshv01-ship-it opened this issue 4 years ago • 6 comments

Description of the problem:

When trying to scan in Samsung Galaxy S21+ device, either the scan data is incorrect or it does not scan at all.

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

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

Does the same happen on other devices or an emulator? Other Android 10/11 devices are pretty stable so far.

In the case of an error do you have a stack trace or adb logs? Unfortunately, No.

vigneshv01-ship-it avatar Sep 02 '21 17:09 vigneshv01-ship-it

We have the same problem on Samsung Tab Active 3 (Android 11) and Google Pixel 3 (Android 12) with Code39 and QR codes. But on our side, we do not get the wrong data, because the complete scan does not work.

We use version 3.6.0 and 4.3.0.

ghost avatar Apr 04 '22 08:04 ghost

We have the same problem on Samsung Tab Active 3 (Android 11) and Google Pixel 3 (Android 12) with Code39 and QR codes. But on our side, we do not get the wrong data, because the complete scan does not work.

We use version 3.6.0 and 4.3.0.

What are you using to read the scan result? Is it the IntentIntegrator.parseActivityResult() method or data.getExtras() on ActivityResult?

MakawaMT avatar Apr 04 '22 10:04 MakawaMT

On our side, the problem was solved by sintering the view from the scan. Thus, it is not so time-consuming to scan the codes on large devices.

Even if the (e.g. QR code) was smaller on the screen and did not take up the whole screen, the scan worked perfectly.

A good solution is to make the scan view the same as in the Barcode Scanner app.

ghost avatar Apr 04 '22 11:04 ghost

Samsung Galaxy S21+ No Scan for QR Barcode. How we can solve this problem?

Which library version are you using?. 4.2.0

Which phone/tablet are you using, and which Android version does it run? Samsung Galaxy S21+ - Android 11

bsvanli avatar Nov 22 '22 03:11 bsvanli

On our side, the problem was solved by sintering the view from the scan. Thus, it is not so time-consuming to scan the codes on large devices.

Even if the (e.g. QR code) was smaller on the screen and did not take up the whole screen, the scan worked perfectly.

A good solution is to make the scan view the same as in the Barcode Scanner app.

Hello, Is the problem solved by making it full screen?

bsvanli avatar Nov 22 '22 04:11 bsvanli

On our side, the problem was solved by sintering the view from the scan. Thus, it is not so time-consuming to scan the codes on large devices. Even if the (e.g. QR code) was smaller on the screen and did not take up the whole screen, the scan worked perfectly. A good solution is to make the scan view the same as in the Barcode Scanner app.

Hello, Is the problem solved by making it full screen?

Unfortunately, we could not find a solution, which could fix this error right now 😞

The best workaround is to reduce the scan area in your activity.

ghost avatar Nov 22 '22 08:11 ghost