Skip to content
This repository was archived by the owner on Mar 28, 2022. It is now read-only.
This repository was archived by the owner on Mar 28, 2022. It is now read-only.

Not able to pass facingMode to BarcodeScannerComponent #15

@jaas0301

Description

@jaas0301

I am trying to pass in facingMode option to the Barcode Scanner Component and it seems to not honor the value.

This is what I have tried so far:

<BarcodeScannerComponent width={420} height={420} onUpdate={(err, result) => { ... }} videoConstraints={{ facingMode: 'user' }} />

Can someone suggest what is wrong here?

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