React QR Scanner

Stable Version 1.0.1 (Compatible with OutSystems 11)
Published on 30 Mar by 
4.0
 (2 ratings)

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


What’s new (1.0.1)
  • Code improvements.
  • Update to the latest version of the OutSystems UI.
Reviews (2)
11 Mar
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()
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.