Cannot read property zxing of undefined
See original GitHub issueHey,
I am trying to use the barcode scanner module but I’m getting the error
"Cannot read property zxing of undefined"
It probably has to do with me not importing the zxing library correctly. I downloaded the zxing core jar from http://central.maven.org/maven2/com/google/zxing/core/3.2.0/core-3.2.0.jar and added it to my NativeScript project under /app/lib/Android/core-3.2.0.jar
Is there anything I’m missing here? Thank you!
Issue Analytics
- State:
- Created 8 years ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
Cannot read property 'stop' · Issue #399 · zxing-js/ngx-scanner
Describe the bug Even after a fresh installation after starting the scanner it works for around 3 Seconds and than stops working.
Read more >Zxing scanner component: TypeError TypeError: Cannot read ...
I am using Zxing scanner and I get the error and the camera power off. There are some similar quiestions but the answers...
Read more >nativescript-barcodescanner plugin had beed added, but ...
V/JS ( 1491): No scan: TypeError: Cannot read property 'zxing' of undefined. nativescript-barcodescanner plugin can not be prepared for android.
Read more >nativescript-barcodescanner - npm
If you get the error TypeError: Cannot read property 'zxing' of undefined on android, try the following steps:.
Read more >Cannot read property 'stop' of undefined - - Bountysource
Cannot read property 'stop' of undefined. zxing-js. 19 January 2021 Posted by Stefku. With @zxingjs/ngx-scanner 3.1.2. I integrated ngx-scanner in a simple ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
One thing that helped me, remove the app from your phone and run the “tns run…” again, probably the re-installation is required for permissions.
use tns plugin add nativescript-barcodescanner on ios platform lib/ios will auto create on android platform not lib/android, ios can call scan android “Cannot read property zxing of undefined”.