Timer91
Timer91
Same my `package.json`: ``` { "name": "riddler", "version": "0.1.0", "private": true, "dependencies": { "@fortawesome/fontawesome-svg-core": "^6.1.1", "@fortawesome/free-brands-svg-icons": "^6.1.1", "@fortawesome/free-solid-svg-icons": "^6.1.1", "@fortawesome/react-fontawesome": "^0.2.0", "@testing-library/jest-dom": "^5.16.4", "@testing-library/react": "^13.3.0", "@testing-library/user-event": "^13.5.0", "@types/jest": "^27.5.2", "@types/node":...
@peteevans1230 thanks your answer. I've tried this method and the following code works. ```javascript const elVideo = document.querySelector( "video" ) ; QrScanner .listCameras(true) .then( devices => { if ( devices...
Btw, is there a way to pause the QR code scanner without disabling the camera? **EDIT**: I've found that way: ```javascript qrScanner._active = !1; ``` It would be interesting to...
After several tests, it does not work with `_active`. In the following example, `qrScanner._active` is set to `true`. But the scanner does not scan QR code anymore. ```javascript QrScanner .listCameras(true)...
@peteevans1230 : I've tried your snippet, but `TypeError: qrScanner.resume is not a function`. I've checked in the library, this function does not exist... It works with `qrScanner.start()` instead of resume.