Skip to content

Commit

Permalink
fix: remove WalletSdkRs dead referenced
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Tate <[email protected]>
  • Loading branch information
Ryanmtate committed Aug 29, 2024
1 parent fa1b5df commit 7b97fbc
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,7 @@
<string>1</string>
<key>NSBluetoothAlwaysUsageDescription</key>
<string>Secure transmission of mobile DL data</string>
<key>NSCameraUsageDescription</key>
<string>QR Code Scanner</string>
</dict>
</plist>
4 changes: 2 additions & 2 deletions Sources/MobileSdk/MDocReader.swift
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import CoreBluetooth
import SpruceIDWalletSdkRs
import SpruceIDMobileSdkRs

public class MDocReader {
var sessionManager: MdlSessionManager
Expand All @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion Sources/MobileSdk/MDocReaderBLEPeripheral.swift
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import Algorithms
import CoreBluetooth
import Foundation
import SpruceIDWalletSdkRs
import SpruceIDMobileSdkRs

class MDocReaderBLEPeripheral: NSObject {
var peripheralManager: CBPeripheralManager!
Expand Down

0 comments on commit 7b97fbc

Please sign in to comment.