mirror of
https://github.com/element-hq/element-x-ios.git
synced 2025-03-10 21:39:12 +00:00
removed useless qr logs (#2886)
This commit is contained in:
parent
4e23f7be22
commit
bd1c7a4008
@ -27,8 +27,6 @@ extension AVMetadataMachineReadableCodeObject {
|
||||
let symbolVersion = (descriptor as? CIQRCodeDescriptor)?.symbolVersion else {
|
||||
return nil
|
||||
}
|
||||
MXLog.info("QR code raw data: \(binaryValueWithProtocol.map { String(format: "%02x", $0) }.joined())")
|
||||
MXLog.info("QR code symbol version: \(symbolVersion)")
|
||||
return Self.removeQrProtocolData(binaryValueWithProtocol, symbolVersion: symbolVersion)
|
||||
case .aztec:
|
||||
guard let string = stringValue
|
||||
@ -66,7 +64,6 @@ extension AVMetadataMachineReadableCodeObject {
|
||||
output.append(contentsOf: batch)
|
||||
}
|
||||
let data = Data(output)
|
||||
MXLog.info("QR code decoded binary data: \(data.map { String(format: "%02x", $0) }.joined())")
|
||||
return data
|
||||
}
|
||||
|
||||
|
@ -20,7 +20,7 @@ import XCTest
|
||||
@testable import ElementX
|
||||
|
||||
final class AVMetadataMachineReadableCodeObjectExtensionsTest: XCTestCase {
|
||||
func testDecoQRCodeVersion8() {
|
||||
func testDecodeQRCodeVersion8() {
|
||||
// swiftlint:disable:next line_length
|
||||
let rawDataHexString = "4a34d415452495802048bf94b094096e57d3ea43545604cf59b1704879d295cf7fdd99c62df7866da36005668747470733a2f2f73796e617073652d6f6964632e656c656d656e742e6465762f5f73796e617073652f636c69656e742f72656e64657a766f75732f3031485a32394d345936374a4e315658505759464e355a363638002168747470733a2f2f73796e617073652d6f6964632e656c656d656e742e6465762f0ec11ec11ec11ec11ec11ec11ec11ec11ec11ec11ec11ec11ec11ec11ec"
|
||||
// swiftlint:disable:next line_length
|
||||
|
Loading…
x
Reference in New Issue
Block a user