-
-
Notifications
You must be signed in to change notification settings - Fork 45
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(barcode-scanning): Black screen on Android device #42
Comments
update: in this demo app: https://github.com/robingenz/capacitor-mlkit-plugin-demo the Start Scan is working, but the Scan shows black screen like in the image above.. |
Seems like this is an issue with the I can't reproduce it on my Google Pixel. I recommend using the |
@robingenz - to be able to use startScan(...) i need to create my own page / component, right? we do not use Ionic, just ReactJS (spa) with Capacitor. |
Yes, to use the |
Got it, thanks, seems like this is the workaound for now. |
This issue might be related to #38 |
The issue was closed by Google. It seems like you can fix this by updating Google Play Services. For this reason i am closing this issue. |
Plugin(s)
Did you test the latest version?
Platform(s)
Current behavior
I followed the guide and tried to add it to my simple app. when i try to scan (after giving permissions), its showing black screen with the scanning square in the middle.
this is what i see on Samsung Galaxy A04e, just a black screen:
Expected behavior
Showing the camera preview and be able to scan barcodes.
Reproduction
https://github.com/robingenz/ionic-capacitor-barcode-scanner
Steps to reproduce
Other information
Samsung Galaxy A04e with Android 13, running from android studio via Pair using WiFi
Capacitor doctor
Before submitting
The text was updated successfully, but these errors were encountered: