Skip to content
This repository was archived by the owner on Jun 16, 2023. It is now read-only.

barCodeTypes not working on iOsΒ #8

@artola

Description

@artola

In v3 the barCodeTypes are not correctly typed, it is not supporting the detected types on iOs.

For example, if I would like to restrict the valid codes to only QR, the TS typings say to pass:

barCodeTypes: ['qr']

but it does not work on iOs, I need to pass:

barCodeTypes: ['org.iso.QRCode']

I do not know if makes sense to fix this on v3 or just see this looking forward.

Docs: https://developer.apple.com/documentation/avfoundation/avmetadatamachinereadablecodeobject/machine-readable_object_types

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions