Give us feedback
react-qr-scanner
Reactive icon

React QR Scanner

Stable version 1.1.0 (Compatible with OutSystems 11)
Uploaded on 29 September 2021 by 
3.0
 (3 ratings)
react-qr-scanner

React QR Scanner

Details
A pure JavaScript QR Code reader library
Read more

Based on the Cozmo jsQR

A pure javascript QR code reading library. This library takes in raw images and will locate, extract and parse any QR code found within.


Features:

  • Open camera in a small window


Release notes (1.1.0)

This version should be a lot more useful now:

  • Fixed bug where camera stayed on after scanning a code
  • Fixed bug where camera stayed on when user cancelled scanning
  • Proper destroy of JavaScript objects



Reviews (2)
by 
2021-03-11
in version 1.0.0
Really loving it, but as James said, the stream is kept opened

To correct this, I made a few changes in the JS code:

1. add the var track ; on line 4
2. retrieve the track on line 29 :      track = stream.getTracks()[0];
3. after the capture is fired (endCapture = true;), stop the track: track.stop()
by 
2020-07-22
in version 1.0.0
It works OK but it leaves the camera  stream open and doesn't have functionality to close it. This means the app is constantly using the device camera after first use.
Team