idwise-nfc-react-native-sdk 5.2.9 → 5.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (51) hide show
  1. package/android/gradle.properties +1 -1
  2. package/android/src/main/java/com/idwisemobilesdk/IdwiseMobileSdkModule.kt +29 -9
  3. package/ios/IDWiseNFC.xcframework/Info.plist +5 -5
  4. package/ios/IDWiseNFC.xcframework/ios-arm64/IDWiseNFC.framework/Assets.car +0 -0
  5. package/ios/IDWiseNFC.xcframework/ios-arm64/IDWiseNFC.framework/BlockedJourneyViewController.storyboardc/Info.plist +0 -0
  6. package/ios/IDWiseNFC.xcframework/ios-arm64/IDWiseNFC.framework/BlockedJourneyViewController.storyboardc/UIViewController-Y6W-OH-hqX.nib +0 -0
  7. package/ios/IDWiseNFC.xcframework/ios-arm64/IDWiseNFC.framework/BlockedJourneyViewController.storyboardc/Y6W-OH-hqX-view-5EZ-qb-Rvc.nib +0 -0
  8. package/ios/IDWiseNFC.xcframework/ios-arm64/IDWiseNFC.framework/IDWiseNFC +0 -0
  9. package/ios/IDWiseNFC.xcframework/ios-arm64/IDWiseNFC.framework/Info.plist +0 -0
  10. package/ios/IDWiseNFC.xcframework/ios-arm64/IDWiseNFC.framework/Modules/IDWiseNFC.swiftmodule/arm64-apple-ios.abi.json +5138 -2465
  11. package/ios/IDWiseNFC.xcframework/ios-arm64/IDWiseNFC.framework/Modules/IDWiseNFC.swiftmodule/arm64-apple-ios.private.swiftinterface +72 -0
  12. package/ios/IDWiseNFC.xcframework/ios-arm64/IDWiseNFC.framework/Modules/IDWiseNFC.swiftmodule/arm64-apple-ios.swiftinterface +72 -0
  13. package/ios/IDWiseNFC.xcframework/ios-arm64_x86_64-simulator/IDWiseNFC.framework/Assets.car +0 -0
  14. package/ios/IDWiseNFC.xcframework/ios-arm64_x86_64-simulator/IDWiseNFC.framework/BlockedJourneyViewController.storyboardc/Info.plist +0 -0
  15. package/ios/IDWiseNFC.xcframework/ios-arm64_x86_64-simulator/IDWiseNFC.framework/BlockedJourneyViewController.storyboardc/UIViewController-Y6W-OH-hqX.nib +0 -0
  16. package/ios/IDWiseNFC.xcframework/ios-arm64_x86_64-simulator/IDWiseNFC.framework/BlockedJourneyViewController.storyboardc/Y6W-OH-hqX-view-5EZ-qb-Rvc.nib +0 -0
  17. package/ios/IDWiseNFC.xcframework/ios-arm64_x86_64-simulator/IDWiseNFC.framework/IDWiseNFC +0 -0
  18. package/ios/IDWiseNFC.xcframework/ios-arm64_x86_64-simulator/IDWiseNFC.framework/Info.plist +0 -0
  19. package/ios/IDWiseNFC.xcframework/ios-arm64_x86_64-simulator/IDWiseNFC.framework/Modules/IDWiseNFC.swiftmodule/arm64-apple-ios-simulator.abi.json +5138 -2465
  20. package/ios/IDWiseNFC.xcframework/ios-arm64_x86_64-simulator/IDWiseNFC.framework/Modules/IDWiseNFC.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +72 -0
  21. package/ios/IDWiseNFC.xcframework/ios-arm64_x86_64-simulator/IDWiseNFC.framework/Modules/IDWiseNFC.swiftmodule/arm64-apple-ios-simulator.swiftinterface +72 -0
  22. package/ios/IDWiseNFC.xcframework/ios-arm64_x86_64-simulator/IDWiseNFC.framework/Modules/IDWiseNFC.swiftmodule/x86_64-apple-ios-simulator.abi.json +5138 -2465
  23. package/ios/IDWiseNFC.xcframework/ios-arm64_x86_64-simulator/IDWiseNFC.framework/Modules/IDWiseNFC.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +72 -0
  24. package/ios/IDWiseNFC.xcframework/ios-arm64_x86_64-simulator/IDWiseNFC.framework/Modules/IDWiseNFC.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +72 -0
  25. package/ios/IDWiseNFC.xcframework/ios-arm64_x86_64-simulator/IDWiseNFC.framework/_CodeSignature/CodeResources +58 -25
  26. package/ios/IDWiseNFC.xcframework/ios-arm64_x86_64-simulator/IDWiseNFC.framework/document_detector.mlmodelc/metadata.json +2 -2
  27. package/ios/IDWiseNFC.xcframework/ios-arm64_x86_64-simulator/IDWiseNFC.framework/document_detector.mlmodelc/model0/coremldata.bin +0 -0
  28. package/ios/IDWiseNFC.xcframework/ios-arm64_x86_64-simulator/IDWiseNFC.framework/document_quality_model.mlmodelc/coremldata.bin +0 -0
  29. package/ios/IdwiseMobileSdk.mm +1 -0
  30. package/ios/IdwiseMobileSdk.swift +35 -15
  31. package/lib/commonjs/IDWise.js +6 -1
  32. package/lib/commonjs/IDWise.js.map +1 -1
  33. package/lib/commonjs/IDWiseConstants.js +1 -0
  34. package/lib/commonjs/IDWiseConstants.js.map +1 -1
  35. package/lib/commonjs/IDWiseDynamic.js +5 -0
  36. package/lib/commonjs/IDWiseDynamic.js.map +1 -1
  37. package/lib/commonjs/IDWiseEventListeners.js +4 -0
  38. package/lib/commonjs/IDWiseEventListeners.js.map +1 -1
  39. package/lib/module/IDWise.js +6 -1
  40. package/lib/module/IDWise.js.map +1 -1
  41. package/lib/module/IDWiseConstants.js +1 -0
  42. package/lib/module/IDWiseConstants.js.map +1 -1
  43. package/lib/module/IDWiseDynamic.js +5 -0
  44. package/lib/module/IDWiseDynamic.js.map +1 -1
  45. package/lib/module/IDWiseEventListeners.js +4 -0
  46. package/lib/module/IDWiseEventListeners.js.map +1 -1
  47. package/package.json +1 -1
  48. package/src/IDWise.js +7 -0
  49. package/src/IDWiseConstants.js +1 -0
  50. package/src/IDWiseDynamic.js +7 -0
  51. package/src/IDWiseEventListeners.js +5 -0
@@ -4,6 +4,7 @@
4
4
  import AVFoundation
5
5
  import AVKit
6
6
  import AdSupport
7
+ import CommonCrypto
7
8
  import CoreML
8
9
  import CoreMedia
9
10
  import CoreMotion
@@ -38,11 +39,21 @@ extension UIKit.UIApplication {
38
39
  @_hasMissingDesignatedInitializers final public class InitializeSDKContainer {
39
40
  @objc deinit
40
41
  }
42
+ public enum JourneyCancellationReason : Swift.String, Swift.Codable {
43
+ case userCancelled
44
+ case tokenExpired
45
+ public init?(rawValue: Swift.String)
46
+ public typealias RawValue = Swift.String
47
+ public var rawValue: Swift.String {
48
+ get
49
+ }
50
+ }
41
51
  public protocol IDWiseJourneyCallbacks {
42
52
  func onJourneyStarted(journeyStartedInfo: IDWiseNFC.JourneyStartedInfo)
43
53
  func onJourneyResumed(journeyResumedInfo: IDWiseNFC.JourneyResumedInfo)
44
54
  func onJourneyCompleted(journeyCompletedInfo: IDWiseNFC.JourneyCompletedInfo)
45
55
  func onJourneyCancelled(journeyCancelledInfo: IDWiseNFC.JourneyCancelledInfo)
56
+ func onJourneyBlocked(journeyBlockedInfo: IDWiseNFC.JourneyBlockedInfo)
46
57
  func onError(error: IDWiseNFC.IDWiseError)
47
58
  }
48
59
  public struct JourneyStartedInfo : Swift.Codable {
@@ -57,6 +68,7 @@ public struct JourneyResumedInfo : Swift.Codable {
57
68
  }
58
69
  public struct JourneyCancelledInfo : Swift.Codable {
59
70
  public let journeyId: Swift.String
71
+ public var cancellationReason: IDWiseNFC.JourneyCancellationReason
60
72
  public func encode(to encoder: any Swift.Encoder) throws
61
73
  public init(from decoder: any Swift.Decoder) throws
62
74
  }
@@ -66,6 +78,12 @@ public struct JourneyCompletedInfo : Swift.Codable {
66
78
  public func encode(to encoder: any Swift.Encoder) throws
67
79
  public init(from decoder: any Swift.Decoder) throws
68
80
  }
81
+ public struct JourneyBlockedInfo : Swift.Codable {
82
+ public let journeyId: Swift.String
83
+ public var blockedTransaction: IDWiseNFC.BlockedTransaction?
84
+ public func encode(to encoder: any Swift.Encoder) throws
85
+ public init(from decoder: any Swift.Decoder) throws
86
+ }
69
87
  public struct ApplicantDetailsKeys {
70
88
  public static let FULL_NAME: Swift.String
71
89
  public static let BIRTH_DATE: Swift.String
@@ -86,6 +104,7 @@ public enum IDWiseTheme {
86
104
  public class func startJourney(flowId: Swift.String, referenceNumber: Swift.String = "", locale: Swift.String = "", applicantDetails: [Swift.String : Swift.String]?, journeyCallbacks: any IDWiseNFC.IDWiseJourneyCallbacks)
87
105
  public class func resumeJourney(flowId: Swift.String, journeyId: Swift.String, locale: Swift.String = "", journeyCallbacks: any IDWiseNFC.IDWiseJourneyCallbacks)
88
106
  public class func initialize(clientKey: Swift.String, theme: IDWiseNFC.IDWiseTheme, onError: @escaping (IDWiseNFC.IDWiseError?) -> ())
107
+ public class func isDeviceBlocked() -> Swift.Bool
89
108
  @objc deinit
90
109
  }
91
110
  @_inheritsConvenienceInitializers public class IDWiseDynamic : IDWiseNFC.IDWiseInternal {
@@ -100,6 +119,25 @@ public enum IDWiseTheme {
100
119
  public class func unloadSDK()
101
120
  public class func finishJourney()
102
121
  public class func skipStep(stepId: Swift.String)
122
+ public class func isDeviceBlocked() -> Swift.Bool
123
+ @objc deinit
124
+ }
125
+ @_hasMissingDesignatedInitializers public class UserDefaultsPersistenceService : IDWiseNFC.PersistenceService {
126
+ public static let shared: IDWiseNFC.UserDefaultsPersistenceService
127
+ public func set<EnumString, EnumKey>(enumString: EnumString, for key: EnumKey) where EnumString : Swift.RawRepresentable, EnumKey : Swift.RawRepresentable, EnumString.RawValue == Swift.String, EnumKey.RawValue == Swift.String
128
+ public func set<EnumKey>(string: Swift.String, for key: EnumKey) where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
129
+ public func string<EnumString, EnumKey>(for key: EnumKey) -> EnumString? where EnumString : Swift.RawRepresentable, EnumKey : Swift.RawRepresentable, EnumString.RawValue == Swift.String, EnumKey.RawValue == Swift.String
130
+ public func string<EnumKey>(for key: EnumKey) -> Swift.String? where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
131
+ public func register<EnumKey>(defaultValue: Swift.Bool, key: EnumKey) where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
132
+ public func set<EnumKey>(bool: Swift.Bool, for key: EnumKey) where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
133
+ public func bool<EnumKey>(for key: EnumKey) -> Swift.Bool where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
134
+ public func set<EnumKey>(date: Foundation.Date?, for key: EnumKey) where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
135
+ public func date<EnumKey>(for key: EnumKey) -> Foundation.Date? where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
136
+ public func set<EnumKey>(data: Foundation.Data, for key: EnumKey) where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
137
+ public func data<EnumKey>(for key: EnumKey) -> Foundation.Data? where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
138
+ public func removeObject<EnumKey>(for key: EnumKey) where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
139
+ public func set<EnumKey>(int: Swift.Int, for key: EnumKey) where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
140
+ public func integer<EnumKey>(for key: EnumKey) -> Swift.Int? where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
103
141
  @objc deinit
104
142
  }
105
143
  public protocol NetworkConfigurable {
@@ -290,6 +328,22 @@ final public class Observable<Value> {
290
328
  final public func remove(observer: Swift.AnyObject)
291
329
  @objc deinit
292
330
  }
331
+ public protocol PersistenceService {
332
+ func set<EnumString, EnumKey>(enumString: EnumString, for key: EnumKey) where EnumString : Swift.RawRepresentable, EnumKey : Swift.RawRepresentable, EnumString.RawValue == Swift.String, EnumKey.RawValue == Swift.String
333
+ func set<EnumKey>(string: Swift.String, for key: EnumKey) where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
334
+ func string<EnumString, EnumKey>(for key: EnumKey) -> EnumString? where EnumString : Swift.RawRepresentable, EnumKey : Swift.RawRepresentable, EnumString.RawValue == Swift.String, EnumKey.RawValue == Swift.String
335
+ func string<EnumKey>(for key: EnumKey) -> Swift.String? where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
336
+ func register<EnumKey>(defaultValue: Swift.Bool, key: EnumKey) where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
337
+ func set<EnumKey>(bool: Swift.Bool, for key: EnumKey) where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
338
+ func bool<EnumKey>(for key: EnumKey) -> Swift.Bool where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
339
+ func set<EnumKey>(date: Foundation.Date?, for key: EnumKey) where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
340
+ func date<EnumKey>(for key: EnumKey) -> Foundation.Date? where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
341
+ func set<EnumKey>(data: Foundation.Data, for key: EnumKey) where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
342
+ func data<EnumKey>(for key: EnumKey) -> Foundation.Data? where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
343
+ func removeObject<EnumKey>(for key: EnumKey) where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
344
+ func set<EnumKey>(int: Swift.Int, for key: EnumKey) where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
345
+ func integer<EnumKey>(for key: EnumKey) -> Swift.Int? where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
346
+ }
293
347
  public protocol StoryboardInstantiable : ObjectiveC.NSObjectProtocol {
294
348
  associatedtype T
295
349
  static var defaultFileName: Swift.String { get }
@@ -462,6 +516,20 @@ public struct JourneySummaryInternal : Swift.Codable {
462
516
  public func encode(to encoder: any Swift.Encoder) throws
463
517
  public init(from decoder: any Swift.Decoder) throws
464
518
  }
519
+ public struct BlockedTransaction : Swift.Codable, Swift.Equatable {
520
+ public let canRetry: Swift.Bool?
521
+ public let blockReasonMessage: Swift.String?
522
+ public let allBlockReasons: [IDWiseNFC.BlockReason]?
523
+ public static func == (a: IDWiseNFC.BlockedTransaction, b: IDWiseNFC.BlockedTransaction) -> Swift.Bool
524
+ public func encode(to encoder: any Swift.Encoder) throws
525
+ public init(from decoder: any Swift.Decoder) throws
526
+ }
527
+ public struct BlockReason : Swift.Codable, Swift.Equatable {
528
+ public let blockReasonCode: Swift.String?
529
+ public static func == (a: IDWiseNFC.BlockReason, b: IDWiseNFC.BlockReason) -> Swift.Bool
530
+ public func encode(to encoder: any Swift.Encoder) throws
531
+ public init(from decoder: any Swift.Decoder) throws
532
+ }
465
533
  public struct NFCConfigurationDTO : Swift.Codable {
466
534
  public let performNFC: Swift.Bool?
467
535
  public func encode(to encoder: any Swift.Encoder) throws
@@ -522,6 +590,7 @@ public struct IDWiseErrorCode {
522
590
  public static let stepConcluded: Swift.String
523
591
  public static let nfcScanError: Swift.String
524
592
  public static let noJourneyToResume: Swift.String
593
+ public static let journeyBlocked: Swift.String
525
594
  }
526
595
  public struct IDWiseError : Swift.Codable {
527
596
  public let code: Swift.String
@@ -542,6 +611,9 @@ extension UIKit.UIView {
542
611
  public protocol Cancellable {
543
612
  func cancel()
544
613
  }
614
+ extension IDWiseNFC.JourneyCancellationReason : Swift.Equatable {}
615
+ extension IDWiseNFC.JourneyCancellationReason : Swift.Hashable {}
616
+ extension IDWiseNFC.JourneyCancellationReason : Swift.RawRepresentable {}
545
617
  extension IDWiseNFC.IDWiseTheme : Swift.Equatable {}
546
618
  extension IDWiseNFC.IDWiseTheme : Swift.Hashable {}
547
619
  extension IDWiseNFC.LoaderPosition : Swift.Equatable {}
@@ -4,6 +4,7 @@
4
4
  import AVFoundation
5
5
  import AVKit
6
6
  import AdSupport
7
+ import CommonCrypto
7
8
  import CoreML
8
9
  import CoreMedia
9
10
  import CoreMotion
@@ -38,11 +39,21 @@ extension UIKit.UIApplication {
38
39
  @_hasMissingDesignatedInitializers final public class InitializeSDKContainer {
39
40
  @objc deinit
40
41
  }
42
+ public enum JourneyCancellationReason : Swift.String, Swift.Codable {
43
+ case userCancelled
44
+ case tokenExpired
45
+ public init?(rawValue: Swift.String)
46
+ public typealias RawValue = Swift.String
47
+ public var rawValue: Swift.String {
48
+ get
49
+ }
50
+ }
41
51
  public protocol IDWiseJourneyCallbacks {
42
52
  func onJourneyStarted(journeyStartedInfo: IDWiseNFC.JourneyStartedInfo)
43
53
  func onJourneyResumed(journeyResumedInfo: IDWiseNFC.JourneyResumedInfo)
44
54
  func onJourneyCompleted(journeyCompletedInfo: IDWiseNFC.JourneyCompletedInfo)
45
55
  func onJourneyCancelled(journeyCancelledInfo: IDWiseNFC.JourneyCancelledInfo)
56
+ func onJourneyBlocked(journeyBlockedInfo: IDWiseNFC.JourneyBlockedInfo)
46
57
  func onError(error: IDWiseNFC.IDWiseError)
47
58
  }
48
59
  public struct JourneyStartedInfo : Swift.Codable {
@@ -57,6 +68,7 @@ public struct JourneyResumedInfo : Swift.Codable {
57
68
  }
58
69
  public struct JourneyCancelledInfo : Swift.Codable {
59
70
  public let journeyId: Swift.String
71
+ public var cancellationReason: IDWiseNFC.JourneyCancellationReason
60
72
  public func encode(to encoder: any Swift.Encoder) throws
61
73
  public init(from decoder: any Swift.Decoder) throws
62
74
  }
@@ -66,6 +78,12 @@ public struct JourneyCompletedInfo : Swift.Codable {
66
78
  public func encode(to encoder: any Swift.Encoder) throws
67
79
  public init(from decoder: any Swift.Decoder) throws
68
80
  }
81
+ public struct JourneyBlockedInfo : Swift.Codable {
82
+ public let journeyId: Swift.String
83
+ public var blockedTransaction: IDWiseNFC.BlockedTransaction?
84
+ public func encode(to encoder: any Swift.Encoder) throws
85
+ public init(from decoder: any Swift.Decoder) throws
86
+ }
69
87
  public struct ApplicantDetailsKeys {
70
88
  public static let FULL_NAME: Swift.String
71
89
  public static let BIRTH_DATE: Swift.String
@@ -86,6 +104,7 @@ public enum IDWiseTheme {
86
104
  public class func startJourney(flowId: Swift.String, referenceNumber: Swift.String = "", locale: Swift.String = "", applicantDetails: [Swift.String : Swift.String]?, journeyCallbacks: any IDWiseNFC.IDWiseJourneyCallbacks)
87
105
  public class func resumeJourney(flowId: Swift.String, journeyId: Swift.String, locale: Swift.String = "", journeyCallbacks: any IDWiseNFC.IDWiseJourneyCallbacks)
88
106
  public class func initialize(clientKey: Swift.String, theme: IDWiseNFC.IDWiseTheme, onError: @escaping (IDWiseNFC.IDWiseError?) -> ())
107
+ public class func isDeviceBlocked() -> Swift.Bool
89
108
  @objc deinit
90
109
  }
91
110
  @_inheritsConvenienceInitializers public class IDWiseDynamic : IDWiseNFC.IDWiseInternal {
@@ -100,6 +119,25 @@ public enum IDWiseTheme {
100
119
  public class func unloadSDK()
101
120
  public class func finishJourney()
102
121
  public class func skipStep(stepId: Swift.String)
122
+ public class func isDeviceBlocked() -> Swift.Bool
123
+ @objc deinit
124
+ }
125
+ @_hasMissingDesignatedInitializers public class UserDefaultsPersistenceService : IDWiseNFC.PersistenceService {
126
+ public static let shared: IDWiseNFC.UserDefaultsPersistenceService
127
+ public func set<EnumString, EnumKey>(enumString: EnumString, for key: EnumKey) where EnumString : Swift.RawRepresentable, EnumKey : Swift.RawRepresentable, EnumString.RawValue == Swift.String, EnumKey.RawValue == Swift.String
128
+ public func set<EnumKey>(string: Swift.String, for key: EnumKey) where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
129
+ public func string<EnumString, EnumKey>(for key: EnumKey) -> EnumString? where EnumString : Swift.RawRepresentable, EnumKey : Swift.RawRepresentable, EnumString.RawValue == Swift.String, EnumKey.RawValue == Swift.String
130
+ public func string<EnumKey>(for key: EnumKey) -> Swift.String? where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
131
+ public func register<EnumKey>(defaultValue: Swift.Bool, key: EnumKey) where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
132
+ public func set<EnumKey>(bool: Swift.Bool, for key: EnumKey) where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
133
+ public func bool<EnumKey>(for key: EnumKey) -> Swift.Bool where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
134
+ public func set<EnumKey>(date: Foundation.Date?, for key: EnumKey) where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
135
+ public func date<EnumKey>(for key: EnumKey) -> Foundation.Date? where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
136
+ public func set<EnumKey>(data: Foundation.Data, for key: EnumKey) where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
137
+ public func data<EnumKey>(for key: EnumKey) -> Foundation.Data? where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
138
+ public func removeObject<EnumKey>(for key: EnumKey) where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
139
+ public func set<EnumKey>(int: Swift.Int, for key: EnumKey) where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
140
+ public func integer<EnumKey>(for key: EnumKey) -> Swift.Int? where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
103
141
  @objc deinit
104
142
  }
105
143
  public protocol NetworkConfigurable {
@@ -290,6 +328,22 @@ final public class Observable<Value> {
290
328
  final public func remove(observer: Swift.AnyObject)
291
329
  @objc deinit
292
330
  }
331
+ public protocol PersistenceService {
332
+ func set<EnumString, EnumKey>(enumString: EnumString, for key: EnumKey) where EnumString : Swift.RawRepresentable, EnumKey : Swift.RawRepresentable, EnumString.RawValue == Swift.String, EnumKey.RawValue == Swift.String
333
+ func set<EnumKey>(string: Swift.String, for key: EnumKey) where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
334
+ func string<EnumString, EnumKey>(for key: EnumKey) -> EnumString? where EnumString : Swift.RawRepresentable, EnumKey : Swift.RawRepresentable, EnumString.RawValue == Swift.String, EnumKey.RawValue == Swift.String
335
+ func string<EnumKey>(for key: EnumKey) -> Swift.String? where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
336
+ func register<EnumKey>(defaultValue: Swift.Bool, key: EnumKey) where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
337
+ func set<EnumKey>(bool: Swift.Bool, for key: EnumKey) where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
338
+ func bool<EnumKey>(for key: EnumKey) -> Swift.Bool where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
339
+ func set<EnumKey>(date: Foundation.Date?, for key: EnumKey) where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
340
+ func date<EnumKey>(for key: EnumKey) -> Foundation.Date? where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
341
+ func set<EnumKey>(data: Foundation.Data, for key: EnumKey) where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
342
+ func data<EnumKey>(for key: EnumKey) -> Foundation.Data? where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
343
+ func removeObject<EnumKey>(for key: EnumKey) where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
344
+ func set<EnumKey>(int: Swift.Int, for key: EnumKey) where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
345
+ func integer<EnumKey>(for key: EnumKey) -> Swift.Int? where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
346
+ }
293
347
  public protocol StoryboardInstantiable : ObjectiveC.NSObjectProtocol {
294
348
  associatedtype T
295
349
  static var defaultFileName: Swift.String { get }
@@ -462,6 +516,20 @@ public struct JourneySummaryInternal : Swift.Codable {
462
516
  public func encode(to encoder: any Swift.Encoder) throws
463
517
  public init(from decoder: any Swift.Decoder) throws
464
518
  }
519
+ public struct BlockedTransaction : Swift.Codable, Swift.Equatable {
520
+ public let canRetry: Swift.Bool?
521
+ public let blockReasonMessage: Swift.String?
522
+ public let allBlockReasons: [IDWiseNFC.BlockReason]?
523
+ public static func == (a: IDWiseNFC.BlockedTransaction, b: IDWiseNFC.BlockedTransaction) -> Swift.Bool
524
+ public func encode(to encoder: any Swift.Encoder) throws
525
+ public init(from decoder: any Swift.Decoder) throws
526
+ }
527
+ public struct BlockReason : Swift.Codable, Swift.Equatable {
528
+ public let blockReasonCode: Swift.String?
529
+ public static func == (a: IDWiseNFC.BlockReason, b: IDWiseNFC.BlockReason) -> Swift.Bool
530
+ public func encode(to encoder: any Swift.Encoder) throws
531
+ public init(from decoder: any Swift.Decoder) throws
532
+ }
465
533
  public struct NFCConfigurationDTO : Swift.Codable {
466
534
  public let performNFC: Swift.Bool?
467
535
  public func encode(to encoder: any Swift.Encoder) throws
@@ -522,6 +590,7 @@ public struct IDWiseErrorCode {
522
590
  public static let stepConcluded: Swift.String
523
591
  public static let nfcScanError: Swift.String
524
592
  public static let noJourneyToResume: Swift.String
593
+ public static let journeyBlocked: Swift.String
525
594
  }
526
595
  public struct IDWiseError : Swift.Codable {
527
596
  public let code: Swift.String
@@ -542,6 +611,9 @@ extension UIKit.UIView {
542
611
  public protocol Cancellable {
543
612
  func cancel()
544
613
  }
614
+ extension IDWiseNFC.JourneyCancellationReason : Swift.Equatable {}
615
+ extension IDWiseNFC.JourneyCancellationReason : Swift.Hashable {}
616
+ extension IDWiseNFC.JourneyCancellationReason : Swift.RawRepresentable {}
545
617
  extension IDWiseNFC.IDWiseTheme : Swift.Equatable {}
546
618
  extension IDWiseNFC.IDWiseTheme : Swift.Hashable {}
547
619
  extension IDWiseNFC.LoaderPosition : Swift.Equatable {}
@@ -6,7 +6,19 @@
6
6
  <dict>
7
7
  <key>Assets.car</key>
8
8
  <data>
9
- atYF+mwmlH/LzaXHutqEFuVGmg0=
9
+ GCN7pXm/yv3mEoHC3bTl5k5PpFY=
10
+ </data>
11
+ <key>BlockedJourneyViewController.storyboardc/Info.plist</key>
12
+ <data>
13
+ VNNQJdsLVO2kuw18GCUYKn9cqRk=
14
+ </data>
15
+ <key>BlockedJourneyViewController.storyboardc/UIViewController-Y6W-OH-hqX.nib</key>
16
+ <data>
17
+ kakj8xLNZdy3OtRgl/cTFIbFDfM=
18
+ </data>
19
+ <key>BlockedJourneyViewController.storyboardc/Y6W-OH-hqX-view-5EZ-qb-Rvc.nib</key>
20
+ <data>
21
+ Yl8ymKWTItvcbzJidfMzmjvf0/w=
10
22
  </data>
11
23
  <key>BulletCell.nib</key>
12
24
  <data>
@@ -74,7 +86,7 @@
74
86
  </data>
75
87
  <key>Info.plist</key>
76
88
  <data>
77
- XTkgaGPHvSOI4BpLajsbEnjA2j8=
89
+ QAmAQDwwZJGAHwFOotMJogHK5mw=
78
90
  </data>
79
91
  <key>JourneyIntroductionViewController.storyboardc/A5G-4b-J84-view-Avi-oP-H2l.nib</key>
80
92
  <data>
@@ -98,11 +110,11 @@
98
110
  </data>
99
111
  <key>Modules/IDWiseNFC.swiftmodule/arm64-apple-ios-simulator.abi.json</key>
100
112
  <data>
101
- e1f6o/zSatCqZMueYQdNCFPcZBs=
113
+ kISr+cTYA28dUDw2+5Oo5jjBZx0=
102
114
  </data>
103
115
  <key>Modules/IDWiseNFC.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface</key>
104
116
  <data>
105
- BEaCvk3LKPgMlzPTlDTJDILPJ7o=
117
+ k2dRQxuBbJnzhf0wuCzMJgXOsP8=
106
118
  </data>
107
119
  <key>Modules/IDWiseNFC.swiftmodule/arm64-apple-ios-simulator.swiftdoc</key>
108
120
  <data>
@@ -110,19 +122,19 @@
110
122
  </data>
111
123
  <key>Modules/IDWiseNFC.swiftmodule/arm64-apple-ios-simulator.swiftinterface</key>
112
124
  <data>
113
- BEaCvk3LKPgMlzPTlDTJDILPJ7o=
125
+ k2dRQxuBbJnzhf0wuCzMJgXOsP8=
114
126
  </data>
115
127
  <key>Modules/IDWiseNFC.swiftmodule/arm64-apple-ios-simulator.swiftmodule</key>
116
128
  <data>
117
- tbnWC6AU9QK4+qij9JXrcxfHPBM=
129
+ VQz4feFKLb78zAV2L1FxTPKXgb0=
118
130
  </data>
119
131
  <key>Modules/IDWiseNFC.swiftmodule/x86_64-apple-ios-simulator.abi.json</key>
120
132
  <data>
121
- e1f6o/zSatCqZMueYQdNCFPcZBs=
133
+ kISr+cTYA28dUDw2+5Oo5jjBZx0=
122
134
  </data>
123
135
  <key>Modules/IDWiseNFC.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface</key>
124
136
  <data>
125
- b5kx1Q3A1y1tne2SC71rk3pwgH0=
137
+ YkIFK74759fhB7bE43gLwgd7g0o=
126
138
  </data>
127
139
  <key>Modules/IDWiseNFC.swiftmodule/x86_64-apple-ios-simulator.swiftdoc</key>
128
140
  <data>
@@ -130,11 +142,11 @@
130
142
  </data>
131
143
  <key>Modules/IDWiseNFC.swiftmodule/x86_64-apple-ios-simulator.swiftinterface</key>
132
144
  <data>
133
- b5kx1Q3A1y1tne2SC71rk3pwgH0=
145
+ YkIFK74759fhB7bE43gLwgd7g0o=
134
146
  </data>
135
147
  <key>Modules/IDWiseNFC.swiftmodule/x86_64-apple-ios-simulator.swiftmodule</key>
136
148
  <data>
137
- UKVdTrWlASqP2f8NDaq6zzuxiJo=
149
+ MDFlLVqWH2wLGpfmBjkzKvaaeso=
138
150
  </data>
139
151
  <key>Mulish-Bold.ttf</key>
140
152
  <data>
@@ -218,7 +230,7 @@
218
230
  </data>
219
231
  <key>document_detector.mlmodelc/metadata.json</key>
220
232
  <data>
221
- BsMj9R+3QGkJQhV5WvgqNChPGx4=
233
+ Bpy6ALlbfzTcuat3RrUt0L5OXuY=
222
234
  </data>
223
235
  <key>document_detector.mlmodelc/model0/analytics/coremldata.bin</key>
224
236
  <data>
@@ -226,7 +238,7 @@
226
238
  </data>
227
239
  <key>document_detector.mlmodelc/model0/coremldata.bin</key>
228
240
  <data>
229
- 9/MJoxIZRg0qdxte7EMbuDJqB2M=
241
+ ABNV0PCZmD0Me9P64JCCuqQeyZA=
230
242
  </data>
231
243
  <key>document_detector.mlmodelc/model0/model.espresso.net</key>
232
244
  <data>
@@ -258,7 +270,7 @@
258
270
  </data>
259
271
  <key>document_quality_model.mlmodelc/coremldata.bin</key>
260
272
  <data>
261
- HO8q9ipcUQbvT68ngudX9iOkfeI=
273
+ ZjbzWh+y47NvlZYKO/0EZB7+T4I=
262
274
  </data>
263
275
  <key>document_quality_model.mlmodelc/metadata.json</key>
264
276
  <data>
@@ -308,7 +320,28 @@
308
320
  <dict>
309
321
  <key>hash2</key>
310
322
  <data>
311
- k1un9ptDRBA1AOPETZgQQbB2EaWzOa/mT7JWM5l8oWg=
323
+ VY7jfCPshxY/aR3t/4QVmnxbTc+2iFda+gi3I0YuxHg=
324
+ </data>
325
+ </dict>
326
+ <key>BlockedJourneyViewController.storyboardc/Info.plist</key>
327
+ <dict>
328
+ <key>hash2</key>
329
+ <data>
330
+ T4UDtGUXhEjznR+mec/r4oAF7OaHbt1BoF21vWt8YUE=
331
+ </data>
332
+ </dict>
333
+ <key>BlockedJourneyViewController.storyboardc/UIViewController-Y6W-OH-hqX.nib</key>
334
+ <dict>
335
+ <key>hash2</key>
336
+ <data>
337
+ iHV2Qv3wwjJH/4uFsJ6xqu2yzuhLN0ba0Q0ACd3Z3Uc=
338
+ </data>
339
+ </dict>
340
+ <key>BlockedJourneyViewController.storyboardc/Y6W-OH-hqX-view-5EZ-qb-Rvc.nib</key>
341
+ <dict>
342
+ <key>hash2</key>
343
+ <data>
344
+ bOEsivsM0ZQiK0n/qQVqlo2PmtK66aGdsTsnI7Qx9/g=
312
345
  </data>
313
346
  </dict>
314
347
  <key>BulletCell.nib</key>
@@ -462,14 +495,14 @@
462
495
  <dict>
463
496
  <key>hash2</key>
464
497
  <data>
465
- ZmVN+db0BPiqyjxF65wBidcAhLov1P+L63Mw5VLBQO4=
498
+ 3ubJ3d/pEtjZQh7tLwE/6tKgPX/cwLjnBqjff6pJRWY=
466
499
  </data>
467
500
  </dict>
468
501
  <key>Modules/IDWiseNFC.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface</key>
469
502
  <dict>
470
503
  <key>hash2</key>
471
504
  <data>
472
- pb72qvGSQt1g1vTw4cpFTYZbYOSHAqBiTv6ekgEk298=
505
+ 9DLGeVk/f4cHe+3mhYB233N//48yKuO4YPz/8W3hCtg=
473
506
  </data>
474
507
  </dict>
475
508
  <key>Modules/IDWiseNFC.swiftmodule/arm64-apple-ios-simulator.swiftdoc</key>
@@ -483,28 +516,28 @@
483
516
  <dict>
484
517
  <key>hash2</key>
485
518
  <data>
486
- pb72qvGSQt1g1vTw4cpFTYZbYOSHAqBiTv6ekgEk298=
519
+ 9DLGeVk/f4cHe+3mhYB233N//48yKuO4YPz/8W3hCtg=
487
520
  </data>
488
521
  </dict>
489
522
  <key>Modules/IDWiseNFC.swiftmodule/arm64-apple-ios-simulator.swiftmodule</key>
490
523
  <dict>
491
524
  <key>hash2</key>
492
525
  <data>
493
- 2gRJk3/Q63XhHdxsbUWcZJrg0hCVChHEVBzUlEQ982Y=
526
+ KfRWWh8VTxG067boT8mgZ9gUokayzPwgvry2WbcnF6k=
494
527
  </data>
495
528
  </dict>
496
529
  <key>Modules/IDWiseNFC.swiftmodule/x86_64-apple-ios-simulator.abi.json</key>
497
530
  <dict>
498
531
  <key>hash2</key>
499
532
  <data>
500
- ZmVN+db0BPiqyjxF65wBidcAhLov1P+L63Mw5VLBQO4=
533
+ 3ubJ3d/pEtjZQh7tLwE/6tKgPX/cwLjnBqjff6pJRWY=
501
534
  </data>
502
535
  </dict>
503
536
  <key>Modules/IDWiseNFC.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface</key>
504
537
  <dict>
505
538
  <key>hash2</key>
506
539
  <data>
507
- QIwqkwMn2+iUM0+n644yCCAlK5BXoXO0hryNdsVEkag=
540
+ rBRyKz3XwXUBasPuTPYfl97V92lyINzR0Pslhviswj4=
508
541
  </data>
509
542
  </dict>
510
543
  <key>Modules/IDWiseNFC.swiftmodule/x86_64-apple-ios-simulator.swiftdoc</key>
@@ -518,14 +551,14 @@
518
551
  <dict>
519
552
  <key>hash2</key>
520
553
  <data>
521
- QIwqkwMn2+iUM0+n644yCCAlK5BXoXO0hryNdsVEkag=
554
+ rBRyKz3XwXUBasPuTPYfl97V92lyINzR0Pslhviswj4=
522
555
  </data>
523
556
  </dict>
524
557
  <key>Modules/IDWiseNFC.swiftmodule/x86_64-apple-ios-simulator.swiftmodule</key>
525
558
  <dict>
526
559
  <key>hash2</key>
527
560
  <data>
528
- N5wwRJeE2szSj3ykUFMqcDotiVASNDDWw7Ps5JF9N9I=
561
+ Jrlot2uYFLZHKTdpnDJBPmjl0DOhUY13WU81VvRVFbk=
529
562
  </data>
530
563
  </dict>
531
564
  <key>Mulish-Bold.ttf</key>
@@ -672,7 +705,7 @@
672
705
  <dict>
673
706
  <key>hash2</key>
674
707
  <data>
675
- ttavkHwMq00AMNq8YVdvk0QgFrY/3Ct3L2XGHkZqFr8=
708
+ JWCtN8hfxcPgjMTpX75kofYKJikZIBmNZ0MbkwA9C80=
676
709
  </data>
677
710
  </dict>
678
711
  <key>document_detector.mlmodelc/model0/analytics/coremldata.bin</key>
@@ -686,7 +719,7 @@
686
719
  <dict>
687
720
  <key>hash2</key>
688
721
  <data>
689
- cTCoaQqNdoeqy8Et5+UiYb/ViKEz6/zTidf51cBNJfY=
722
+ GkhvG+cIZydp4WKoPZ+jd0bUwj5/zQ7U4A9Dt44QwWg=
690
723
  </data>
691
724
  </dict>
692
725
  <key>document_detector.mlmodelc/model0/model.espresso.net</key>
@@ -742,7 +775,7 @@
742
775
  <dict>
743
776
  <key>hash2</key>
744
777
  <data>
745
- CX2/CMy3EXwIUniGJiXB08ngOzZxTslqBSE+85TVdx0=
778
+ rNfbU7X0gd1NnS02j//HfX5yQbjf9Yzamw7ED5reWP4=
746
779
  </data>
747
780
  </dict>
748
781
  <key>document_quality_model.mlmodelc/metadata.json</key>
@@ -90,9 +90,9 @@
90
90
  ],
91
91
  "generatedClassName" : "document_detector",
92
92
  "userDefinedMetadata" : {
93
+ "confidence_threshold" : "0.25",
93
94
  "iou_threshold" : "0.45",
94
- "classes" : "Doc",
95
- "confidence_threshold" : "0.25"
95
+ "classes" : "Doc"
96
96
  },
97
97
  "neuralNetworkLayerTypeHistogram" : {
98
98
  "Concat" : 13,
@@ -23,6 +23,7 @@ RCT_EXTERN_METHOD(resumeJourney:(NSString *)journeyDefinitionId
23
23
  :(NSString *)journeyId
24
24
  :(NSString *)locale)
25
25
  RCT_EXTERN_METHOD(getJourneySummary)
26
+ RCT_EXTERN_METHOD(isDeviceBlocked)
26
27
  RCT_EXTERN_METHOD(unloadSDK)
27
28
  RCT_EXTERN_METHOD(finishDynamicJourney)
28
29
  RCT_EXTERN_METHOD(skipStep:(NSString *)stepId)