Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Can't decode the QR code on IOS system

Open
#436 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
12/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
csharp, ios
Domain
tooling

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from micjahn/ZXing.Net

All issues in micjahn/ZXing.Net

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.