From 7b97fbc30d459f1cd5c3cd8947ef8a3aab461ac4 Mon Sep 17 00:00:00 2001 From: Ryan Tate Date: Thu, 29 Aug 2024 12:02:40 -0700 Subject: [PATCH] fix: remove WalletSdkRs dead referenced Signed-off-by: Ryan Tate --- Info.plist | 2 ++ Sources/MobileSdk/MDocReader.swift | 4 ++-- Sources/MobileSdk/MDocReaderBLEPeripheral.swift | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Info.plist b/Info.plist index af5189f..d04f29e 100644 --- a/Info.plist +++ b/Info.plist @@ -18,5 +18,7 @@ 1 NSBluetoothAlwaysUsageDescription Secure transmission of mobile DL data + NSCameraUsageDescription + QR Code Scanner diff --git a/Sources/MobileSdk/MDocReader.swift b/Sources/MobileSdk/MDocReader.swift index 14ba8ac..59fcc0a 100644 --- a/Sources/MobileSdk/MDocReader.swift +++ b/Sources/MobileSdk/MDocReader.swift @@ -1,5 +1,5 @@ import CoreBluetooth -import SpruceIDWalletSdkRs +import SpruceIDMobileSdkRs public class MDocReader { var sessionManager: MdlSessionManager @@ -9,7 +9,7 @@ public class MDocReader { public init?(callback: BLEReaderSessionStateDelegate, uri: String, requestedItems: [String: [String: Bool]]) { self.callback = callback do { - let sessionData = try SpruceIDWalletSdkRs.establishSession(uri: uri, requestedItems: requestedItems, trustAnchorRegistry: nil) + let sessionData = try SpruceIDMobileSdkRs.establishSession(uri: uri, requestedItems: requestedItems, trustAnchorRegistry: nil) self.sessionManager = sessionData.state self.bleManager = MDocReaderBLEPeripheral(callback: self, serviceUuid: CBUUID(string: sessionData.uuid), request: sessionData.request, bleIdent: Data(sessionData.bleIdent.utf8)) } catch { diff --git a/Sources/MobileSdk/MDocReaderBLEPeripheral.swift b/Sources/MobileSdk/MDocReaderBLEPeripheral.swift index d3d512a..7e55e46 100644 --- a/Sources/MobileSdk/MDocReaderBLEPeripheral.swift +++ b/Sources/MobileSdk/MDocReaderBLEPeripheral.swift @@ -1,7 +1,7 @@ import Algorithms import CoreBluetooth import Foundation -import SpruceIDWalletSdkRs +import SpruceIDMobileSdkRs class MDocReaderBLEPeripheral: NSObject { var peripheralManager: CBPeripheralManager!