Closed eTolgaKaradogan closed 1 year ago
@eTolgaKaradogan I have updated the new version on this issue check it now.
@eTolgaKaradogan I have updated the new version on this issue check it now.
Hi,
I checked the new version but can not find the solution.
Basically, there will be notification when QR Code is scanned. But when I scan the QR Code there are 7-8 notifies. Also, my code is like that:
const data = e[0].value;
So what I am trying to do is with just one data.
@eTolgaKaradogan
public onEvent(e: ScannerQRCodeResult[], action?: any): void {
e && action && action.pause(); // you can using pause() or stop()
console.log(e);
}
const data = e[0].value;
// The scanner detects all the QRCODE on the screen they see and returns the array of data
// You take the first element is absolutely correct.
Hi,
Basically I want to scan only one QR Code and close the dialog window. When I scanned the QR Code its scans multiple times, may be 7-10 times.
I just want to scan one time every time dialog window opens. Can u help me?
Thanks in advance.