You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
No scanning is happening (consumer is never called back).
However when I change the delegation to the direct inheritance of the MlKitAnalyzer - then scanning works as expected:
classBarcodeScanningAnalyzer internal constructor(
barcodeScanner:BarcodeScanner, valexecutor:Executor, consumer:Consumer<Result>
) : MlKitAnalyzer(
listOf<BarcodeScanner>(barcodeScanner),
/* provides ability drawing easily a overlay/box around the QR Code in real time */COORDINATE_SYSTEM_VIEW_REFERENCED,
executor,
consumer
), LifecycleObserver by barcodeScanner
SDK Info:
SDK Name & Version: com.google.mlkit:barcode-scanning:17.0.2
Smartphone:
Device/Simulator: Pixel 9 Pro
Device/Simulator OS: Android 15
Development Environment:
IDE: Android Studio Meerkat | 2024.3.1 Canary 4
The text was updated successfully, but these errors were encountered:
Describe the bug
When Kotlin delegation is used as following:
and later scanning started via:
No scanning is happening (consumer is never called back).
However when I change the delegation to the direct inheritance of the
MlKitAnalyzer
- then scanning works as expected:SDK Info:
Smartphone:
Development Environment:
IDE: Android Studio Meerkat | 2024.3.1 Canary 4
The text was updated successfully, but these errors were encountered: