Can't make work the barcode scanner #143
-
I've just cloned the repo: https://github.com/robingenz/ionic-capacitor-barcode-scanner and it didn't work in my device. Also implemented in my project https://github.com/mvindel-dev/PokeAPI in src/view/team on the branch qrScan and it also didn't work. On my repo i've followed step by step the guide https://capawesome.io/blog/how-to-build-an-ionic-barcode-scanner-with-capacitor/ and doesn't work. I don't know if i'm missing something or it's just my device that doesn't work well with this plugin (I have a Xiaomi Redmi Note 11s). Thanks :) |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 11 replies
-
What does "doesn't work" mean? Please share an error message. |
Beta Was this translation helpful? Give feedback.
-
I'm using await BarcodeScanner.startScan(options); , work on emulator but not in real devices :/ i want use custom UI . |
Beta Was this translation helpful? Give feedback.
You need to check if the Google Barcode Scanner module is available and install it if necessary (see
isGoogleBarcodeScannerModuleAvailable()
andinstallGoogleBarcodeScannerModule()
).