Can't decode the QR code on IOS system
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 12/100
Research direction
The report reads ResultMetadataType.BYTE_SEGMENTS from rawResult and gets three segments, with the first one truncated for QR codes generated on iOS. The payload names no source file, so start by locating where that metadata is populated in the QR decoder. Obtain a sample iOS-generated QR image, since none is attached, and compare its byte segments against an Android-generated one. Done means identifying why the segment is shortened and either fixing it or documenting the cause; the thread has no maintainer answer yet.
Written by the indexing model from the issue text.
Description
The same binary data generates QR code on IOS system and Android system. But the data obtained when decoding with zxing is different. Some data obtained by IOS is missing.
ArrayList<byte[]> bytes = (ArrayList<byte[]>) rawResult.getResultMetadata().get(ResultMetadataType.BYTE_SEGMENTS);
The size of the bytes obtained is 3. The first position of the array obtained by Android system is the correct data required, but the first position of the array of IOS system is smaller than that of Android. The decoded code can correctly decode the QR code of IOS system in the first half of last year. This year, reported that the QR code of IOS system could not be decode.
Is it because of the ios15 system? Or some other reason?
- Dominant language
- C#
- Stars
- 3.1k
- Forks
- 704
- Avg merge
- 13d 17h
- Merged PRs (30d)
- 2
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from micjahn/ZXing.Net
-
crop() overrides document "0 <= top <= Height"; should be top < Height like left < WidthPossibly taken @hidingmyname claimed this 2 days ago. Open
Difficulty 1/5 Under an hour Newbie friendliness 92/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
-
Difficulty 3/5 Half a day Newbie friendliness 22/100
-
Difficulty 3/5 1-2 days Newbie friendliness 42/100
-
Difficulty 4/5 3-5 days Newbie friendliness 12/100
All issues in micjahn/ZXing.Net
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
MahdiyarGHD/GheychiApp#39 ·
Maintainers usually reply within 1 day
-
bug effort:S P3
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
nightscout/nocturne#3136 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 76/100
GameShowLDA/AskMkiM#1075 ·
Maintainers usually reply within 1 day