Closed zNoobs closed 3 years ago
It looks like the scanner is appearing, but it is hidden by the elements in the WebView. Can you please try debugging it like this: https://github.com/DutchConcepts/capacitor-barcode-scanner/issues/7#issuecomment-744441148
So you were right the scanner is appearing but it's hidden, setting a transparent background to the elements didn't work, the only thing that worked was to change the body opacity like this comment: https://github.com/capacitor-community/barcode-scanner/issues/7#issuecomment-799488694
Describe the bug Nothing happens on the android app when I call:
await BarcodeScanner.startScan()
Expected behavior The bar code scanner should appear.
Version I'm using Ionic 5 Angular with Capacitor, here the versions:
Smartphone (please complete the following information):
Additional context I added Here the error logs I get on Android studio when I call await BarcodeScanner.startScan():
Here a part of my AndroidManifest.xml:
Here a part of my MainActivity.java:
Here the javascript code I use:
The android app already has Camera/Location/Microphone/Storage permissions granted on the phone.