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

[Bug Report] ML Kit Barcode Scanning Fails in Portrait Mode on Huawei Nova 12 SE (Android 12) When Using Play Store Dependency #884

Open
RoonyShekho09 opened this issue Oct 14, 2024 · 0 comments
Assignees

Comments

@RoonyShekho09
Copy link

There is an issue with ML Kit's barcode scanning functionality on Huawei Nova 12 SE (Android 12) when the app is installed using the Play Store dependency for ML Kit. In portrait mode, the barcode scanner does not detect any barcodes, while detection works as expected in landscape mode.

Steps to Reproduce

  1. Set up an Android project using ML Kit for barcode scanning.
  2. Integrate the Play Store dependency (com.google.android.gms:play-services-mlkit-barcode-scanning) for ML Kit.
  3. Test the barcode scanning functionality on a Huawei Nova 12 SE running Android 12.
  4. Attempt to scan a barcode in portrait mode — observe that no codes are detected.
  5. Rotate the device to landscape mode and attempt to scan again — observe that codes are detected correctly (though it's slow and you need to move the device very close to the barcode).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants