bug: Barcode Scanner Sometimes Reads Incorrect Values for Code128 Barcode #171
Labels
bug/fix
Something isn't working
duplicate
This issue or pull request already exists
needs: triage
package: barcode-scanning
platform: android
Android platform
Plugin(s)
Version
6.1.0
Platform(s)
Current behavior
When scanning a Code128 barcode, the scanner does not always return the correct value. For instance, as shown in the attached screenshots, I am trying to scan a Code128 barcode with the accurate value
8003012345678902345678901234
. However, it returns8243175366890234567580173
, which is incorrect.Expected behavior
The barcode scanner should return the actual value of the Code128 barcode on every scan.
Reproduction
https://github.com/robingenz/capacitor-mlkit-plugin-demo
Steps to reproduce
Code128
and click onSTART SCAN
.sample-barcode-code128.pdf
Other information
The device used for testing: Google Pixel 6a (Android Version 14)
Capacitor doctor
💊 Capacitor Doctor 💊
Latest Dependencies:
@capacitor/cli: 6.1.1
@capacitor/core: 6.1.1
@capacitor/android: 6.1.1
@capacitor/ios: 6.1.1
Installed Dependencies:
@capacitor/android: 6.0.0
@capacitor/cli: 6.0.0
@capacitor/core: 6.0.0
@capacitor/ios: 6.0.0
[success] Android looking great! 👌
[error] Xcode is not installed
Before submitting
The text was updated successfully, but these errors were encountered: