Has anyone been able to successfully get the phonegap barcode scanner to work with Meteor 3.0? If so what are you using and how did you get it to work? I’m running into a gradle error using cordova:phonegap-plugin-barcodescanner@8.1.0
could you please give us more details like post your error here or describe how to reproduce it locally?
Yes, I get the error below when I try to utilize the scanner. I’m finding some posts saying Cordova version 14 is not compatible with the phonegap barcode scanner.
I20251217-13:23:09.205(-6)? 12-17 13:23:06.983 14359 14359 I chromium: [INFO:CONSOLE:1920] “Uncaught TypeError: Cannot read properties of undefined (reading ‘barcodeScanner’)”, source: http://localhost:12776/__cordova/app/app.js?hash=74794ce52f2cb2e62de04b64f1a66d5b1139ff9f (1920)
I20251217-13:23:20.692(-6)? 12-17 13:23:18.471 14359 14359 I chromium: [INFO:CONSOLE:1920] “Uncaught TypeError: Cannot read properties of undefined (reading ‘barcodeScanner’)”, source: http://localhost:12776/__cordova/app/app.js?hash=74794ce52f2cb2e62de04b64f1a66d5b1139ff9f (1920)
At first I was having a gradle issue, but now it just seems like cordova doesn’t recognize the barcode scanner.
I figured out the plugin I was using wouldn’t work with Meteor 3.0 and the current Cordova version. I ended up using ```
@red-mobile/cordova-plugin-barcodescanner