React QR Scanner

Stable Version 1.0.1 (OutSystems 11)
Published on 30 Mar by 
Stable Version 1.0.1 (OutSystems 11)
Published on 30 Mar by 
Created on 23 June 2020

React QR Scanner

5 star
1
1 Review |  1 Rating
4 star
0
0 Reviews |  0 Ratings
3 star
1
1 Review |  1 Rating
2 star
0
0 Reviews |  0 Ratings
1 star
0
0 Reviews |  0 Ratings
2
Ratings
4.0 Average Rating
2
Reviews
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.