schmich / instascan

HTML5 QR code scanner using your webcam
https://schmich.github.io/instascan/
MIT License
2.97k stars 866 forks source link

Is there a way to stop Camera after QR code scan is done using instascan for javascript #255

Open gopalanand333 opened 4 years ago

gopalanand333 commented 4 years ago

I am trying to scan qr code using instascan for javascript. It's working fine on android, even scanning is happening on IOS, the scanner.stop() function switches off the camera but the screen goes black and we have to manually close the camera. After closing the camera and returning to the application we can see that scanning was completed. Is there a way to stop the camera in ios? Library: https://rawgit.com/schmich/instascan-builds/master/instascan.min.js https://github.com/schmich/instascan/

Attached StackOverflow question with screenshot: https://stackoverflow.com/questions/64004468/is-there-a-way-to-stop-camera-after-qr-code-scan-is-done-using-instascan-for-jav

Mpumelelodube commented 2 years ago

I'm facing the same issue, for you manage to get a solution?