From 9944c4fe93d21170c8fe2d738ad75160e43c01b4 Mon Sep 17 00:00:00 2001 From: Artur Guseinov Date: Mon, 31 Oct 2022 10:56:25 +0600 Subject: [PATCH 1/3] Stop capture session after scan --- .../PresentationLayer/Wallet/Scan/Views/ScanQRView.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Example/Showcase/Classes/PresentationLayer/Wallet/Scan/Views/ScanQRView.swift b/Example/Showcase/Classes/PresentationLayer/Wallet/Scan/Views/ScanQRView.swift index 2d9db1056..08ce85b45 100644 --- a/Example/Showcase/Classes/PresentationLayer/Wallet/Scan/Views/ScanQRView.swift +++ b/Example/Showcase/Classes/PresentationLayer/Wallet/Scan/Views/ScanQRView.swift @@ -63,12 +63,12 @@ final class ScanQRView: UIView { extension ScanQRView: AVCaptureMetadataOutputObjectsDelegate { func metadataOutput(_ metadataOutput: AVCaptureMetadataOutput, didOutput metadataObjects: [AVMetadataObject], from connection: AVCaptureConnection) { + defer { stopCaptureSession() } guard let metadataObject = metadataObjects.first as? AVMetadataMachineReadableCodeObject, let value = metadataObject.stringValue else { return } - delegate?.scanDidDetect(value: value) } } From 77317d2c1c96bd226a1d7b92be78814f6aacda8a Mon Sep 17 00:00:00 2001 From: Artur Guseinov Date: Mon, 31 Oct 2022 21:25:44 +0600 Subject: [PATCH 2/3] v1.0.2 sdk version --- Sources/WalletConnectRelay/EnvironmentInfo.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/WalletConnectRelay/EnvironmentInfo.swift b/Sources/WalletConnectRelay/EnvironmentInfo.swift index 7dab63f3b..2dfc0ae9e 100644 --- a/Sources/WalletConnectRelay/EnvironmentInfo.swift +++ b/Sources/WalletConnectRelay/EnvironmentInfo.swift @@ -18,7 +18,7 @@ enum EnvironmentInfo { } static var sdkVersion: String { - "v0.10.3-rc.0" + "v1.0.2" } static var operatingSystem: String { From d133ec4267a21ddccdb7328544d73386b5dccead Mon Sep 17 00:00:00 2001 From: Artur Guseinov Date: Tue, 1 Nov 2022 08:42:25 +0600 Subject: [PATCH 3/3] v1.0.3 sdk version --- Sources/WalletConnectRelay/EnvironmentInfo.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/WalletConnectRelay/EnvironmentInfo.swift b/Sources/WalletConnectRelay/EnvironmentInfo.swift index 2dfc0ae9e..a32faf141 100644 --- a/Sources/WalletConnectRelay/EnvironmentInfo.swift +++ b/Sources/WalletConnectRelay/EnvironmentInfo.swift @@ -18,7 +18,7 @@ enum EnvironmentInfo { } static var sdkVersion: String { - "v1.0.2" + "v1.0.3" } static var operatingSystem: String {