Skip to content

CapacitorBarcodeScannerCameraDirection.BACK always uses front camera on Web #90

@enzogireaud

Description

@enzogireaud

As mentioned in the title, I encountered an issue with CapacitorBarcodeScannerCameraDirection.BACK on Web.
Even when explicitly setting it to use the back camera, it still defaulted to the front camera.

I implemented a quick fix inspired by a capacitor-community PR, which successfully resolved the issue in my case.
I’ve already opened a PR for this and I’m waiting for it to be reviewed. I’m open to making any necessary changes to ensure it gets merged as soon as possible.

PR LINK

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