Skip to content

Apple Vision (which was introduced in v7) makes impossible to scan binary data from QR-code on iOS #1544

@pirrest

Description

@pirrest

Hello!

My users generate QR-codes from within my app. I'm putting binary data there - encrypted key and some additional data encoded by ASN.1.
With v6 of the lib (which used MLKit from Google on iOS) it worked as a charm.
But starting from v7 I can't decode my QRs anymore :(

Can we have some setting to allow Vision API to return pure bytes? (it seems that it tries to interpret data as some text and returns not usable data).
Barcode.rawValue is null when trying to decode my QRs, so only rawBytes are there..

I have example of QR-code and resulting binary data that v6 and v7 returns if that might be helpful..

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions