Skip to content

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

Closed
@samiuelson

Description

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

priority: mediumPlanned tasks usually belonging to ongoing projectstype: enhancementA request for an enhancement.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions