vue-qrcode-reader
Advanced tools
Comparing version 2.3.16 to 2.3.17
@@ -11,3 +11,3 @@ --- | ||
**Describe the bug** | ||
A clear and concise description of what the bug is. | ||
A clear and concise description of what the bug is. Can you reproduce this issue with [one of the demos](https://gruhn.github.io/vue-qrcode-reader/demos/DecodeAll.html)? | ||
@@ -14,0 +14,0 @@ **To Reproduce** |
@@ -13,6 +13,6 @@ # QrcodeStream | ||
1. Chrome requires [HTTPS or localhost](https://sites.google.com/a/chromium.org/dev/Home/chromium-security/deprecating-powerful-features-on-insecure-origins) (see _Troubleshooting_ for help) | ||
2. Safari also requires HTTPS **even** on localhost (see [#48](https://github.com/gruhn/vue-qrcode-reader/issues/48)). It also won't work in: | ||
- _Chrome for iOS_, _Firefox for iOS_, ... (see [#29](https://github.com/gruhn/vue-qrcode-reader/issues/29)) | ||
- WkWebView component of native iOS apps | ||
- web apps added to home screen (PWA mode) **prior to iOS 13.4** (see [#76](https://github.com/gruhn/vue-qrcode-reader/issues/76)) | ||
2. Safari also requires HTTPS **even** on localhost (see [#48](https://github.com/gruhn/vue-qrcode-reader/issues/48)). Support is limited for: | ||
- web apps added to home screen (PWA mode): at least **iOS 13.4** (see [#76](https://github.com/gruhn/vue-qrcode-reader/issues/76)) | ||
- iOS browsers other than Safari (_Chrome for iOS_, _Firefox for iOS_, ...): at least **iOS 14.3** (see [#29](https://github.com/gruhn/vue-qrcode-reader/issues/29)) | ||
- WkWebView component in native iOS apps: at least **iOS 14.3** (see [#29](https://github.com/gruhn/vue-qrcode-reader/issues/29)) | ||
@@ -19,0 +19,0 @@ |
{ | ||
"name": "vue-qrcode-reader", | ||
"description": "A set of Vue.js components for detecting and decoding QR codes.", | ||
"version": "2.3.16", | ||
"version": "2.3.17", | ||
"author": { | ||
@@ -6,0 +6,0 @@ "name": "Niklas Gruhn", |
@@ -13,3 +13,8 @@ import { StreamApiNotSupportedError, InsecureContextError } from "./errors.js"; | ||
stop() { | ||
this.stream.getTracks().forEach(track => track.stop()); | ||
this.videoEl.srcObject = null; | ||
this.stream.getTracks().forEach(track => { | ||
this.stream.removeTrack(track); | ||
track.stop(); | ||
}); | ||
} | ||
@@ -16,0 +21,0 @@ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
3262053
19706