Skip to content

🐛 Back-facing camera not working when scanning tickets #1198

@laurens-moonens

Description

@laurens-moonens

Describe the bug
When using my phone to scan tickets, the front-facing camera is always used by default, without an easy way to use the back-facing camera instead. The only way to get the back-facing camera working, is to disable the camera permission while the camera is being used, then selecting the back-facing camera and enabling the permission again.

To Reproduce
Steps to reproduce the behavior:

  1. Using your smartphone, go the webpage to scan tickets for a certain event
  2. Click on the QR-button to start scanning
  3. Accept the permission to use the camera
  4. Observe that the front-facing camera is used by default
  5. Click the camera icon in the bottom right to switch to the back-facing camera
  6. Observe that the camera is not changing to the back-facing camera
  7. Go to the page settings -> disable and re-enable the camera permission
  8. Click again on the camera icon to select the back-facing camera
  9. Observe that now the back-facing camera is used correctly.

Expected behavior
I expect the back-facing camera to be used by default, and at the very least be able to select the back-facing camera without having to change the permission settings.

Smartphone (please complete the following information):

  • Device: Samsung Galaxy A04s
  • OS: Android 13
  • Browser: Brave
  • Version 1.89.145

Hi.Events Version and platform
Hi.Events is hosted on your servers

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions