Love your package! It is the best qr-scanner for web I could find :)
In the app I am currently working on we have a special case: We are going to have our app-specific qr-codes around a certain area, and in our app we only want those to trigger. It is possible a user could scan multiple other codes before getting to one of ours.
What we want to do in the app is decode it first, then check if that code belongs to us, and if not, keep scanning.
Decoding stops though once something has been decoded - I looked at the source to see if I could maybe reset the _stopDecoding state, but that is private.
Would it be possible to have a continuous scanning mode, that keeps decoding, even if something already has been decoded? This can also happen with a delay of course, realistically 1 scan per second is very reasonable.
(my current workaround is to stop the stream on decode, wait a bit, then restart it, but I would hope for a way that does not disrupt the video-stream)
Love your package! It is the best qr-scanner for web I could find :)
In the app I am currently working on we have a special case: We are going to have our app-specific qr-codes around a certain area, and in our app we only want those to trigger. It is possible a user could scan multiple other codes before getting to one of ours.
What we want to do in the app is decode it first, then check if that code belongs to us, and if not, keep scanning.
Decoding stops though once something has been decoded - I looked at the source to see if I could maybe reset the _stopDecoding state, but that is private.
Would it be possible to have a continuous scanning mode, that keeps decoding, even if something already has been decoded? This can also happen with a delay of course, realistically 1 scan per second is very reasonable.
(my current workaround is to stop the stream on decode, wait a bit, then restart it, but I would hope for a way that does not disrupt the video-stream)