0 like 0 dislike
518 views
in T10 by Q&A Freshman (102 points)

Lib version: 2.14.20231218

Hello,
When scanning a 2D Barcode (QR or Aztec), I am getting a suffix in the ByteArray payload.

For example after scanning a QR code containing the string "https://www.telpo.vip", here is the hex data : "68747470733a2f2f7777772e74656c706f2e7669700d0a".


But this ByteArray payload is actually a representation of : 
"https://www.telpo.vip

", which is something actually happening on your demo app too.
For now I need to manually remove the "0d0a" suffix which is absolutely not needed.

If you ever fix this bug in a new lib version please notify me, for that I thank you in advance.

Please log in or register to answer this question.

1 Answer

0 like 0 dislike
by Q&A Engineer (5.2k points)
edited by
Hello, plz try to scan this barcode, and clear the "\r\n"

https://drive.google.com/file/d/11yEyIX_xtYR0NENUjfxM5Du6Q-8nvvU3/view?usp=sharing
by Q&A Freshman (102 points)
0 0
Hello,

by scanning that code, the listener is never called. It is the same for the demo app
by Q&A Engineer (5.2k points)
0 0
Hello, this is the configuration code in my google drive link, which is used to clear the \r\n('0d0a'), it will not output any results, you can check it if the \r\n is missing

Related questions

0 like 0 dislike
1 answer 86 views
asked in T10 by yirien Q&A Freshman (102 points)
0 like 0 dislike
1 answer 300 views
0 like 0 dislike
1 answer 446 views
0 like 0 dislike
1 answer 368 views
0 like 0 dislike
1 answer 367 views
Welcome to Telpo Q&A,

If you have a technical question ,please ask here, in English.

If you have faulty devices need be repaired,please create a issue ticket.

Please inquiry your ticket.

Notice :If you have an urgent question or cannot register account of Q&A, you can contact the online support in below jivochat .

Categories

...