vue-qrcode-reader: Doesn't work offline due to external dependency loading at runtime
Describe the bug
There the breaking change was introduced in v2.3.10
. The dependency of the webrtc-adapter
package has been removed. Now itβs impossible to use vue-qrcode-reader
in local environments (without internet connection) and in applications with strict CSP rules (loading scripts from external resources is not allowed).
Screenshots

About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 32 (16 by maintainers)
Commits related to this issue
- fix: offline clients can't load webrtc shim Issue: #197 — committed to gruhn/vue-qrcode-reader by gruhn 4 years ago
- fix: offline clients can't load webrtc shim Issue: #197 — committed to gruhn/vue-qrcode-reader by gruhn 4 years ago
- fix(worker-prop): cant instantiate arrow functions When the function passed via the `worker` prop is an arrow function than we can't construct instances of it with the `new` keyword. The problem prob... — committed to gruhn/vue-qrcode-reader by gruhn 4 years ago
- fix(worker-prop): cant instantiate arrow functions When the function passed via the `worker` prop is an arrow function than we can't construct instances of it with the `new` keyword. The problem prob... — committed to gruhn/vue-qrcode-reader by gruhn 4 years ago
- refactor: extract BarcodeDetector polyfill Implement dedicated npm package for BarcodeDetector polyfill: https://www.npmjs.com/package/barcode-detector Should fix #197 along the way because depen... — committed to gruhn/vue-qrcode-reader by gruhn 3 years ago
π This issue has been resolved in version 3.0.0 π
The release is available on:
Your semantic-release bot π¦π
Thanks a lot. That seems to work