Skip to content

Default camera lens uses ultra-wide instead of main camera #45

@GeneralK1ng

Description

@GeneralK1ng

When using QrScanner, the default camera lens on Android selects the ultra-wide camera.
This results in low resolution and poor QR code detection performance.

Expected behavior

  • The scanner should default to the main (back) camera, or
  • Provide an option to let developers choose which physical camera (e.g. main, ultra-wide, telephoto) to use.

Why this matters

Ultra-wide cameras usually have lower resolution, which makes scanning QR codes less reliable.
Most QR scanner apps default to the main camera for better clarity and accuracy.

Steps to reproduce

  • Initialize QrScanner with default parameters.
  • On devices with multiple back cameras, the scanner opens the ultra-wide camera.

Environment

  • Library version: 3.1.2
  • Device: OnePlus PKG110
  • OS: Android 15

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