Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Barcode scanner] Allow scanning barcodes with front camera if rear camera is not available #13174

Open
samiuelson opened this issue Dec 19, 2024 · 1 comment
Labels
priority: medium Planned tasks usually belonging to ongoing projects type: enhancement A request for an enhancement.

Comments

@samiuelson
Copy link
Collaborator

samiuelson commented Dec 19, 2024

There are devices, like Chromebooks that does not have LENS_FACING_BACK camera available.

It would be useful to fall back to fallback to LENS_FACING_BACK in case the first one is not available.

Context/discussion: https://woomobilecuw.wordpress.com/2024/11/26/android-illegalargumentexception-provided-camera-selector-unable-to-resolve-a-camera-for-the-given-use-case/#comment-2709

File: BarcodeScanner.kt

@samiuelson samiuelson added the type: enhancement A request for an enhancement. label Dec 19, 2024
@dangermattic
Copy link
Collaborator

dangermattic commented Dec 19, 2024

🚫 Please add a type label (e.g. type: enhancement) and a feature label (e.g. feature: stats) to this issue.

@samiuelson samiuelson added priority: low Not many people are affected or there’s a workaround, etc. priority: medium Planned tasks usually belonging to ongoing projects and removed priority: low Not many people are affected or there’s a workaround, etc. labels Dec 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: medium Planned tasks usually belonging to ongoing projects type: enhancement A request for an enhancement.
Projects
None yet
Development

No branches or pull requests

2 participants