Can't make work the barcode scanner #143
Answered
by
robingenz
mvindel-dev
asked this question in
Q&A
|
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 :) |
Answered by
robingenz
Apr 7, 2024
Replies: 2 comments 11 replies
|
What does "doesn't work" mean? Please share an error message. |
11 replies
|
I'm using await BarcodeScanner.startScan(options); , work on emulator but not in real devices :/ i want use custom UI . |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You need to check if the Google Barcode Scanner module is available and install it if necessary (see
isGoogleBarcodeScannerModuleAvailable()andinstallGoogleBarcodeScannerModule()).