[Barcode scanner] Allow scanning barcodes with front camera if rear camera is not available #13174
Labels
priority: medium
Planned tasks usually belonging to ongoing projects
type: enhancement
A request for an enhancement.
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
The text was updated successfully, but these errors were encountered: