Skip to content

Version 2.0.12

Compare
Choose a tag to compare
@mebjas mebjas released this 17 Sep 19:27
· 117 commits to master since this release
2b7db06

Version 2.0.12

  • Redundant information in the top status bar removed.
  • Added support for remembering permission and last camera used. This feature is on by default. Can be turned on or off using rememberLastUsedCamera flag in Html5QrcodeScannerConfig. How to explicitly enable it:
      function onScanSuccess(decodedText, decodedResult) {
          // handle success.
      }
      let html5QrcodeScanner = new Html5QrcodeScanner(
        "reader", 
        { 
            fps: 10,
            qrbox: 250,
            rememberLastUsedCamera: true
            // ^ set this to false to disable this.
        });
      html5QrcodeScanner.render(onScanSuccess);