qr-scanner icon indicating copy to clipboard operation
qr-scanner copied to clipboard

Change scan region on the fly

Open vria opened this issue 2 years ago • 1 comments

Hello,

is there a way to change a scan region when scan is already started ? It is necessary when user switches his phone from landscape to portrait and vice versa.

I tries to stop, destroy and start again but the camera switches off and does not switch on in this case.

vria avatar May 12 '22 13:05 vria

Use yourScannerInstance._updateOverlay(); I got this from the project demo code

devaskim avatar May 18 '22 14:05 devaskim