Created on 23 June 2020
icon_unfollowing
Login to follow
react-qr-scanner

React QR Scanner

Stable version 1.1.0 (Compatible with OutSystems 11)
Uploaded on 29 September 2021 by 
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.
Category
Functional libraries & utilities, Other functions & libraries
Tags
Support options
This asset is not supported by OutSystems. You may use the discussion forums to leave suggestions or obtain best-effort support from the community, including from  who created this asset.
Dependencies
React QR Scanner has no dependencies.
Application Objects
React QR Scanner has 0 AOs.
Team
Compatible with
Version 11
11.9.2 or higher
11.7.6 to 11.9.0
11.0.539 to 11.0.615
Database:
All
Asset consumers
See all 1 consumers
Weekly downloads