googlesamples / googlesamples/mlkit

[Bug report] QR code scanner give another null value.

Open
#712 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Kotlin
Stars
4.3k
Forks
3.1k
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
get another null value when scan QR code like this: "|099400039094711\r\n012130166000055001\r\n300620230000000000\r\n7656\u0000\u0000\u0000\u0000\u0000\u0000"

**To Reproduce**
expected value is "|099400039094711\r\n012130166000055001\r\n300620230000000000\r\n7656"
but actual value is "|099400039094711\r\n012130166000055001\r\n300620230000000000\r\n7656\u0000\u0000\u0000\u0000\u0000\u0000"

1. Scan QR code.
2. See result.

example QR code:
Screenshot 2566-08-04 at 11 20 39

**Expected behavior**
expected value is "|099400039094711\r\n012130166000055001\r\n300620230000000000\r\n7656"
but actual value is "|099400039094711\r\n012130166000055001\r\n300620230000000000\r\n7656\u0000\u0000\u0000\u0000\u0000\u0000"

**SDK Info:**
- SDK Name & Version com.google.mlkit:barcode-scanning:17.1.0

**Smartphone:**
- Device/Simulator: Pixel 4
- Device/Simulator OS: Android API 29

**Development Environment:**
- IDE Eversion: Android Studio Dolphin | 2021.3.1 Patch 1

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.