idwise-nfc-react-native-sdk 5.3.1 → 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 (49) 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/ios-arm64/IDWiseNFC.framework/Assets.car +0 -0
  4. package/ios/IDWiseNFC.xcframework/ios-arm64/IDWiseNFC.framework/BlockedJourneyViewController.storyboardc/Info.plist +0 -0
  5. package/ios/IDWiseNFC.xcframework/ios-arm64/IDWiseNFC.framework/BlockedJourneyViewController.storyboardc/UIViewController-Y6W-OH-hqX.nib +0 -0
  6. package/ios/IDWiseNFC.xcframework/ios-arm64/IDWiseNFC.framework/BlockedJourneyViewController.storyboardc/Y6W-OH-hqX-view-5EZ-qb-Rvc.nib +0 -0
  7. package/ios/IDWiseNFC.xcframework/ios-arm64/IDWiseNFC.framework/IDWiseNFC +0 -0
  8. package/ios/IDWiseNFC.xcframework/ios-arm64/IDWiseNFC.framework/Info.plist +0 -0
  9. package/ios/IDWiseNFC.xcframework/ios-arm64/IDWiseNFC.framework/Modules/IDWiseNFC.swiftmodule/arm64-apple-ios.abi.json +5081 -2474
  10. package/ios/IDWiseNFC.xcframework/ios-arm64/IDWiseNFC.framework/Modules/IDWiseNFC.swiftmodule/arm64-apple-ios.private.swiftinterface +71 -0
  11. package/ios/IDWiseNFC.xcframework/ios-arm64/IDWiseNFC.framework/Modules/IDWiseNFC.swiftmodule/arm64-apple-ios.swiftinterface +71 -0
  12. package/ios/IDWiseNFC.xcframework/ios-arm64_x86_64-simulator/IDWiseNFC.framework/Assets.car +0 -0
  13. package/ios/IDWiseNFC.xcframework/ios-arm64_x86_64-simulator/IDWiseNFC.framework/BlockedJourneyViewController.storyboardc/Info.plist +0 -0
  14. package/ios/IDWiseNFC.xcframework/ios-arm64_x86_64-simulator/IDWiseNFC.framework/BlockedJourneyViewController.storyboardc/UIViewController-Y6W-OH-hqX.nib +0 -0
  15. package/ios/IDWiseNFC.xcframework/ios-arm64_x86_64-simulator/IDWiseNFC.framework/BlockedJourneyViewController.storyboardc/Y6W-OH-hqX-view-5EZ-qb-Rvc.nib +0 -0
  16. package/ios/IDWiseNFC.xcframework/ios-arm64_x86_64-simulator/IDWiseNFC.framework/IDWiseNFC +0 -0
  17. package/ios/IDWiseNFC.xcframework/ios-arm64_x86_64-simulator/IDWiseNFC.framework/Info.plist +0 -0
  18. package/ios/IDWiseNFC.xcframework/ios-arm64_x86_64-simulator/IDWiseNFC.framework/Modules/IDWiseNFC.swiftmodule/arm64-apple-ios-simulator.abi.json +5081 -2474
  19. package/ios/IDWiseNFC.xcframework/ios-arm64_x86_64-simulator/IDWiseNFC.framework/Modules/IDWiseNFC.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +71 -0
  20. package/ios/IDWiseNFC.xcframework/ios-arm64_x86_64-simulator/IDWiseNFC.framework/Modules/IDWiseNFC.swiftmodule/arm64-apple-ios-simulator.swiftinterface +71 -0
  21. package/ios/IDWiseNFC.xcframework/ios-arm64_x86_64-simulator/IDWiseNFC.framework/Modules/IDWiseNFC.swiftmodule/x86_64-apple-ios-simulator.abi.json +5081 -2474
  22. package/ios/IDWiseNFC.xcframework/ios-arm64_x86_64-simulator/IDWiseNFC.framework/Modules/IDWiseNFC.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +71 -0
  23. package/ios/IDWiseNFC.xcframework/ios-arm64_x86_64-simulator/IDWiseNFC.framework/Modules/IDWiseNFC.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +71 -0
  24. package/ios/IDWiseNFC.xcframework/ios-arm64_x86_64-simulator/IDWiseNFC.framework/_CodeSignature/CodeResources +56 -23
  25. package/ios/IDWiseNFC.xcframework/ios-arm64_x86_64-simulator/IDWiseNFC.framework/document_detector.mlmodelc/coremldata.bin +0 -0
  26. package/ios/IDWiseNFC.xcframework/ios-arm64_x86_64-simulator/IDWiseNFC.framework/document_detector.mlmodelc/model0/coremldata.bin +0 -0
  27. package/ios/IdwiseMobileSdk.mm +1 -0
  28. package/ios/IdwiseMobileSdk.swift +35 -15
  29. package/lib/commonjs/IDWise.js +6 -1
  30. package/lib/commonjs/IDWise.js.map +1 -1
  31. package/lib/commonjs/IDWiseConstants.js +1 -0
  32. package/lib/commonjs/IDWiseConstants.js.map +1 -1
  33. package/lib/commonjs/IDWiseDynamic.js +5 -0
  34. package/lib/commonjs/IDWiseDynamic.js.map +1 -1
  35. package/lib/commonjs/IDWiseEventListeners.js +4 -0
  36. package/lib/commonjs/IDWiseEventListeners.js.map +1 -1
  37. package/lib/module/IDWise.js +6 -1
  38. package/lib/module/IDWise.js.map +1 -1
  39. package/lib/module/IDWiseConstants.js +1 -0
  40. package/lib/module/IDWiseConstants.js.map +1 -1
  41. package/lib/module/IDWiseDynamic.js +5 -0
  42. package/lib/module/IDWiseDynamic.js.map +1 -1
  43. package/lib/module/IDWiseEventListeners.js +4 -0
  44. package/lib/module/IDWiseEventListeners.js.map +1 -1
  45. package/package.json +1 -1
  46. package/src/IDWise.js +7 -0
  47. package/src/IDWiseConstants.js +1 -0
  48. package/src/IDWiseDynamic.js +7 -0
  49. package/src/IDWiseEventListeners.js +5 -0
@@ -39,11 +39,21 @@ extension UIKit.UIApplication {
39
39
  @_hasMissingDesignatedInitializers final public class InitializeSDKContainer {
40
40
  @objc deinit
41
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
+ }
42
51
  public protocol IDWiseJourneyCallbacks {
43
52
  func onJourneyStarted(journeyStartedInfo: IDWiseNFC.JourneyStartedInfo)
44
53
  func onJourneyResumed(journeyResumedInfo: IDWiseNFC.JourneyResumedInfo)
45
54
  func onJourneyCompleted(journeyCompletedInfo: IDWiseNFC.JourneyCompletedInfo)
46
55
  func onJourneyCancelled(journeyCancelledInfo: IDWiseNFC.JourneyCancelledInfo)
56
+ func onJourneyBlocked(journeyBlockedInfo: IDWiseNFC.JourneyBlockedInfo)
47
57
  func onError(error: IDWiseNFC.IDWiseError)
48
58
  }
49
59
  public struct JourneyStartedInfo : Swift.Codable {
@@ -58,6 +68,7 @@ public struct JourneyResumedInfo : Swift.Codable {
58
68
  }
59
69
  public struct JourneyCancelledInfo : Swift.Codable {
60
70
  public let journeyId: Swift.String
71
+ public var cancellationReason: IDWiseNFC.JourneyCancellationReason
61
72
  public func encode(to encoder: any Swift.Encoder) throws
62
73
  public init(from decoder: any Swift.Decoder) throws
63
74
  }
@@ -67,6 +78,12 @@ public struct JourneyCompletedInfo : Swift.Codable {
67
78
  public func encode(to encoder: any Swift.Encoder) throws
68
79
  public init(from decoder: any Swift.Decoder) throws
69
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
+ }
70
87
  public struct ApplicantDetailsKeys {
71
88
  public static let FULL_NAME: Swift.String
72
89
  public static let BIRTH_DATE: Swift.String
@@ -87,6 +104,7 @@ public enum IDWiseTheme {
87
104
  public class func startJourney(flowId: Swift.String, referenceNumber: Swift.String = "", locale: Swift.String = "", applicantDetails: [Swift.String : Swift.String]?, journeyCallbacks: any IDWiseNFC.IDWiseJourneyCallbacks)
88
105
  public class func resumeJourney(flowId: Swift.String, journeyId: Swift.String, locale: Swift.String = "", journeyCallbacks: any IDWiseNFC.IDWiseJourneyCallbacks)
89
106
  public class func initialize(clientKey: Swift.String, theme: IDWiseNFC.IDWiseTheme, onError: @escaping (IDWiseNFC.IDWiseError?) -> ())
107
+ public class func isDeviceBlocked() -> Swift.Bool
90
108
  @objc deinit
91
109
  }
92
110
  @_inheritsConvenienceInitializers public class IDWiseDynamic : IDWiseNFC.IDWiseInternal {
@@ -101,6 +119,25 @@ public enum IDWiseTheme {
101
119
  public class func unloadSDK()
102
120
  public class func finishJourney()
103
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
104
141
  @objc deinit
105
142
  }
106
143
  public protocol NetworkConfigurable {
@@ -291,6 +328,22 @@ final public class Observable<Value> {
291
328
  final public func remove(observer: Swift.AnyObject)
292
329
  @objc deinit
293
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
+ }
294
347
  public protocol StoryboardInstantiable : ObjectiveC.NSObjectProtocol {
295
348
  associatedtype T
296
349
  static var defaultFileName: Swift.String { get }
@@ -463,6 +516,20 @@ public struct JourneySummaryInternal : Swift.Codable {
463
516
  public func encode(to encoder: any Swift.Encoder) throws
464
517
  public init(from decoder: any Swift.Decoder) throws
465
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
+ }
466
533
  public struct NFCConfigurationDTO : Swift.Codable {
467
534
  public let performNFC: Swift.Bool?
468
535
  public func encode(to encoder: any Swift.Encoder) throws
@@ -523,6 +590,7 @@ public struct IDWiseErrorCode {
523
590
  public static let stepConcluded: Swift.String
524
591
  public static let nfcScanError: Swift.String
525
592
  public static let noJourneyToResume: Swift.String
593
+ public static let journeyBlocked: Swift.String
526
594
  }
527
595
  public struct IDWiseError : Swift.Codable {
528
596
  public let code: Swift.String
@@ -543,6 +611,9 @@ extension UIKit.UIView {
543
611
  public protocol Cancellable {
544
612
  func cancel()
545
613
  }
614
+ extension IDWiseNFC.JourneyCancellationReason : Swift.Equatable {}
615
+ extension IDWiseNFC.JourneyCancellationReason : Swift.Hashable {}
616
+ extension IDWiseNFC.JourneyCancellationReason : Swift.RawRepresentable {}
546
617
  extension IDWiseNFC.IDWiseTheme : Swift.Equatable {}
547
618
  extension IDWiseNFC.IDWiseTheme : Swift.Hashable {}
548
619
  extension IDWiseNFC.LoaderPosition : Swift.Equatable {}
@@ -39,11 +39,21 @@ extension UIKit.UIApplication {
39
39
  @_hasMissingDesignatedInitializers final public class InitializeSDKContainer {
40
40
  @objc deinit
41
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
+ }
42
51
  public protocol IDWiseJourneyCallbacks {
43
52
  func onJourneyStarted(journeyStartedInfo: IDWiseNFC.JourneyStartedInfo)
44
53
  func onJourneyResumed(journeyResumedInfo: IDWiseNFC.JourneyResumedInfo)
45
54
  func onJourneyCompleted(journeyCompletedInfo: IDWiseNFC.JourneyCompletedInfo)
46
55
  func onJourneyCancelled(journeyCancelledInfo: IDWiseNFC.JourneyCancelledInfo)
56
+ func onJourneyBlocked(journeyBlockedInfo: IDWiseNFC.JourneyBlockedInfo)
47
57
  func onError(error: IDWiseNFC.IDWiseError)
48
58
  }
49
59
  public struct JourneyStartedInfo : Swift.Codable {
@@ -58,6 +68,7 @@ public struct JourneyResumedInfo : Swift.Codable {
58
68
  }
59
69
  public struct JourneyCancelledInfo : Swift.Codable {
60
70
  public let journeyId: Swift.String
71
+ public var cancellationReason: IDWiseNFC.JourneyCancellationReason
61
72
  public func encode(to encoder: any Swift.Encoder) throws
62
73
  public init(from decoder: any Swift.Decoder) throws
63
74
  }
@@ -67,6 +78,12 @@ public struct JourneyCompletedInfo : Swift.Codable {
67
78
  public func encode(to encoder: any Swift.Encoder) throws
68
79
  public init(from decoder: any Swift.Decoder) throws
69
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
+ }
70
87
  public struct ApplicantDetailsKeys {
71
88
  public static let FULL_NAME: Swift.String
72
89
  public static let BIRTH_DATE: Swift.String
@@ -87,6 +104,7 @@ public enum IDWiseTheme {
87
104
  public class func startJourney(flowId: Swift.String, referenceNumber: Swift.String = "", locale: Swift.String = "", applicantDetails: [Swift.String : Swift.String]?, journeyCallbacks: any IDWiseNFC.IDWiseJourneyCallbacks)
88
105
  public class func resumeJourney(flowId: Swift.String, journeyId: Swift.String, locale: Swift.String = "", journeyCallbacks: any IDWiseNFC.IDWiseJourneyCallbacks)
89
106
  public class func initialize(clientKey: Swift.String, theme: IDWiseNFC.IDWiseTheme, onError: @escaping (IDWiseNFC.IDWiseError?) -> ())
107
+ public class func isDeviceBlocked() -> Swift.Bool
90
108
  @objc deinit
91
109
  }
92
110
  @_inheritsConvenienceInitializers public class IDWiseDynamic : IDWiseNFC.IDWiseInternal {
@@ -101,6 +119,25 @@ public enum IDWiseTheme {
101
119
  public class func unloadSDK()
102
120
  public class func finishJourney()
103
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
104
141
  @objc deinit
105
142
  }
106
143
  public protocol NetworkConfigurable {
@@ -291,6 +328,22 @@ final public class Observable<Value> {
291
328
  final public func remove(observer: Swift.AnyObject)
292
329
  @objc deinit
293
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
+ }
294
347
  public protocol StoryboardInstantiable : ObjectiveC.NSObjectProtocol {
295
348
  associatedtype T
296
349
  static var defaultFileName: Swift.String { get }
@@ -463,6 +516,20 @@ public struct JourneySummaryInternal : Swift.Codable {
463
516
  public func encode(to encoder: any Swift.Encoder) throws
464
517
  public init(from decoder: any Swift.Decoder) throws
465
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
+ }
466
533
  public struct NFCConfigurationDTO : Swift.Codable {
467
534
  public let performNFC: Swift.Bool?
468
535
  public func encode(to encoder: any Swift.Encoder) throws
@@ -523,6 +590,7 @@ public struct IDWiseErrorCode {
523
590
  public static let stepConcluded: Swift.String
524
591
  public static let nfcScanError: Swift.String
525
592
  public static let noJourneyToResume: Swift.String
593
+ public static let journeyBlocked: Swift.String
526
594
  }
527
595
  public struct IDWiseError : Swift.Codable {
528
596
  public let code: Swift.String
@@ -543,6 +611,9 @@ extension UIKit.UIView {
543
611
  public protocol Cancellable {
544
612
  func cancel()
545
613
  }
614
+ extension IDWiseNFC.JourneyCancellationReason : Swift.Equatable {}
615
+ extension IDWiseNFC.JourneyCancellationReason : Swift.Hashable {}
616
+ extension IDWiseNFC.JourneyCancellationReason : Swift.RawRepresentable {}
546
617
  extension IDWiseNFC.IDWiseTheme : Swift.Equatable {}
547
618
  extension IDWiseNFC.IDWiseTheme : Swift.Hashable {}
548
619
  extension IDWiseNFC.LoaderPosition : Swift.Equatable {}
@@ -6,7 +6,19 @@
6
6
  <dict>
7
7
  <key>Assets.car</key>
8
8
  <data>
9
- 6mguaXtat62orrn07RwgyrEbAFM=
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
- oDPA5NnZzFRDnRIzqTRW1bocVMY=
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
- 8BeB5sHNsgCnadwhJ31uK4ZUT6o=
113
+ kISr+cTYA28dUDw2+5Oo5jjBZx0=
102
114
  </data>
103
115
  <key>Modules/IDWiseNFC.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface</key>
104
116
  <data>
105
- sfBbqi+HlBzMgeb83KeDwJ85NTU=
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
- sfBbqi+HlBzMgeb83KeDwJ85NTU=
125
+ k2dRQxuBbJnzhf0wuCzMJgXOsP8=
114
126
  </data>
115
127
  <key>Modules/IDWiseNFC.swiftmodule/arm64-apple-ios-simulator.swiftmodule</key>
116
128
  <data>
117
- /L+nlTRpgnUCCIdhSlbK/ucbKyg=
129
+ VQz4feFKLb78zAV2L1FxTPKXgb0=
118
130
  </data>
119
131
  <key>Modules/IDWiseNFC.swiftmodule/x86_64-apple-ios-simulator.abi.json</key>
120
132
  <data>
121
- 8BeB5sHNsgCnadwhJ31uK4ZUT6o=
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
- TV5ArcuBw2ANjENRdcWnjKHrhb8=
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
- TV5ArcuBw2ANjENRdcWnjKHrhb8=
145
+ YkIFK74759fhB7bE43gLwgd7g0o=
134
146
  </data>
135
147
  <key>Modules/IDWiseNFC.swiftmodule/x86_64-apple-ios-simulator.swiftmodule</key>
136
148
  <data>
137
- 00zbOSV7wxRVaUlCHzHv8gzCNbw=
149
+ MDFlLVqWH2wLGpfmBjkzKvaaeso=
138
150
  </data>
139
151
  <key>Mulish-Bold.ttf</key>
140
152
  <data>
@@ -214,7 +226,7 @@
214
226
  </data>
215
227
  <key>document_detector.mlmodelc/coremldata.bin</key>
216
228
  <data>
217
- aaXR+BpPN3sTXRWe9mXCzJb/XSU=
229
+ x3g53PPMGiV+lKaSqDvTgz742wg=
218
230
  </data>
219
231
  <key>document_detector.mlmodelc/metadata.json</key>
220
232
  <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>
@@ -308,7 +320,28 @@
308
320
  <dict>
309
321
  <key>hash2</key>
310
322
  <data>
311
- w7WySDhK6N+MgJU9e2FispGQoM7OV7SS3l/5Yb2M59U=
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
- 564CC3qNgdOZ9g8FWvGSPlRkuOd2T+Xazj/+Xwgyv0o=
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
- ujpft/+FVZdG60u23fYF06psUSspAIF82YDRHVhC19s=
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
- ujpft/+FVZdG60u23fYF06psUSspAIF82YDRHVhC19s=
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
- +vzphOqBVwH38uEcne0StjnOt62KvpsapPncYSVdhLI=
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
- 564CC3qNgdOZ9g8FWvGSPlRkuOd2T+Xazj/+Xwgyv0o=
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
- ZSpyEMk7uaaAkg+UGJTIm/SRQPG5vYdUqiWmvSodSXw=
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
- ZSpyEMk7uaaAkg+UGJTIm/SRQPG5vYdUqiWmvSodSXw=
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
- vXQRXrh9tsq61dVeYFjyyp06pSZVYI0Cekqzq+oLTio=
561
+ Jrlot2uYFLZHKTdpnDJBPmjl0DOhUY13WU81VvRVFbk=
529
562
  </data>
530
563
  </dict>
531
564
  <key>Mulish-Bold.ttf</key>
@@ -665,7 +698,7 @@
665
698
  <dict>
666
699
  <key>hash2</key>
667
700
  <data>
668
- xQJZIUpZ6KJpXgBdnbqIWPkaEb9OmFw9J9fAdQEVe8k=
701
+ 55dJ0iU5Us0bBh1Ge1AzosaBJLWiPDIkB+UNHveoD08=
669
702
  </data>
670
703
  </dict>
671
704
  <key>document_detector.mlmodelc/metadata.json</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>
@@ -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)
@@ -9,7 +9,7 @@ class IdwiseMobileSdk: RCTEventEmitter {
9
9
 
10
10
  open override func supportedEvents() -> [String] {
11
11
  [
12
- "onJourneyStarted", "onJourneyResumed", "onJourneyCancelled", "onError", "onJourneyError",
12
+ "onJourneyStarted", "onJourneyResumed", "onJourneyCancelled", "onJourneyBlocked", "onError", "onJourneyError",
13
13
  "onJourneyCompleted",
14
14
  "onJourneySummary", "onStepCaptured", "onStepResult", "onStepCancelled", "onStepSkipped",
15
15
  "onInitializeError",
@@ -34,7 +34,7 @@ class IdwiseMobileSdk: RCTEventEmitter {
34
34
  do {
35
35
  let jsonData = try JSONEncoder().encode(error)
36
36
  let jsonString = String(data: jsonData, encoding: String.Encoding.utf8)
37
-
37
+
38
38
  IdwiseMobileSdk.emitter.sendEvent(
39
39
  withName: "onInitializeError",
40
40
  body: ["data": jsonString] as [String: Any])
@@ -144,7 +144,7 @@ class IdwiseMobileSdk: RCTEventEmitter {
144
144
  callback: { journeySummary, error in
145
145
  do {
146
146
  let responseSummary = JourneySummaryExposed(summary: journeySummary,error: error)
147
-
147
+
148
148
  let jsonData = try JSONEncoder().encode(responseSummary)
149
149
  let jsonString = String(data: jsonData, encoding: String.Encoding.utf8)
150
150
  IdwiseMobileSdk.emitter.sendEvent(withName: "onJourneySummary", body: ["data": jsonString] as [String: Any])
@@ -168,6 +168,10 @@ class IdwiseMobileSdk: RCTEventEmitter {
168
168
  }
169
169
  }
170
170
 
171
+ @objc func isDeviceBlocked() -> Bool {
172
+ return IDWise.isDeviceBlocked()
173
+ }
174
+
171
175
  // Delegate Methods bridging
172
176
  @objc func journeyStarted(_ callback: RCTResponseSenderBlock) {
173
177
 
@@ -185,11 +189,11 @@ extension IdwiseMobileSdk: IDWiseJourneyCallbacks {
185
189
  }catch{
186
190
  print(error)
187
191
  }
188
-
192
+
189
193
  }
190
194
 
191
195
  public func onError(error : IDWiseError) {
192
-
196
+
193
197
  do {
194
198
  let jsonEncoder = JSONEncoder()
195
199
  let jsonData = try jsonEncoder.encode(error)
@@ -198,8 +202,8 @@ extension IdwiseMobileSdk: IDWiseJourneyCallbacks {
198
202
  } catch{
199
203
  print(error)
200
204
  }
201
-
202
-
205
+
206
+
203
207
  }
204
208
 
205
209
  public func onJourneyStarted(journeyStartedInfo: JourneyStartedInfo) {
@@ -207,7 +211,7 @@ extension IdwiseMobileSdk: IDWiseJourneyCallbacks {
207
211
  let jsonEncoder = JSONEncoder()
208
212
  let jsonData = try jsonEncoder.encode(journeyStartedInfo)
209
213
  let jsonResp = String(data: jsonData, encoding: String.Encoding.utf8)
210
-
214
+
211
215
  IdwiseMobileSdk.emitter.sendEvent(withName: "onJourneyStarted", body: ["data": jsonResp] as [String: Any])
212
216
  } catch {
213
217
  print(error)
@@ -215,7 +219,7 @@ extension IdwiseMobileSdk: IDWiseJourneyCallbacks {
215
219
  }
216
220
 
217
221
  public func onJourneyCompleted(journeyCompletedInfo: JourneyCompletedInfo) {
218
-
222
+
219
223
  do{
220
224
  let jsonEncoder = JSONEncoder()
221
225
  let jsonData = try jsonEncoder.encode(journeyCompletedInfo)
@@ -237,21 +241,35 @@ extension IdwiseMobileSdk: IDWiseJourneyCallbacks {
237
241
  }
238
242
  }
239
243
 
244
+
245
+ public func onJourneyBlocked(journeyBlockedInfo: JourneyBlockedInfo) {
246
+ do{
247
+ let jsonEncoder = JSONEncoder()
248
+ let jsonData = try jsonEncoder.encode(journeyBlockedInfo)
249
+ let jsonResp = String(data: jsonData, encoding: String.Encoding.utf8)
250
+ IdwiseMobileSdk.emitter.sendEvent(withName: "onJourneyBlocked", body: ["data": jsonResp] as [String: Any])
251
+ }catch{
252
+ print(error)
253
+ }
254
+ }
255
+
240
256
  }
241
257
 
242
258
  extension IdwiseMobileSdk: IDWiseStepCallbacks {
243
-
259
+
244
260
  public func onStepCaptured(stepCapturedInfo:StepCapturedInfo) {
245
261
  do{
246
262
  let originalImage = convertImageToBase64String(img: stepCapturedInfo.originalImage)
247
263
  let croppedImage = convertImageToBase64String(img: stepCapturedInfo.croppedImage)
248
-
249
- let captureResponse = OnStepCapturedExposed(stepId: stepCapturedInfo.stepId, originalImage: originalImage, croppedImage: croppedImage)
250
-
264
+ let originalImageBack = convertImageToBase64String(img: stepCapturedInfo.originalImageBack)
265
+ let croppedImageBack = convertImageToBase64String(img: stepCapturedInfo.croppedImageBack)
266
+
267
+ let captureResponse = OnStepCapturedExposed(stepId: stepCapturedInfo.stepId, originalImage: originalImage, croppedImage: croppedImage, originalImageBack:originalImageBack, croppedImageBack: croppedImageBack)
268
+
251
269
  let jsonEncoder = JSONEncoder()
252
270
  let jsonData = try jsonEncoder.encode(captureResponse)
253
271
  let jsonResp = String(data: jsonData, encoding: String.Encoding.utf8)
254
-
272
+
255
273
  IdwiseMobileSdk.emitter.sendEvent(withName: "onStepCaptured", body: ["data": jsonResp] as [String: Any])
256
274
  }catch{
257
275
  print(error)
@@ -302,7 +320,7 @@ extension IdwiseMobileSdk: IDWiseStepCallbacks {
302
320
 
303
321
 
304
322
  private struct JourneySummaryExposed: Codable {
305
- var summary: JourneySummary?
323
+ var summary: IDWiseNFC.JourneySummary?
306
324
  var error: IDWiseError?
307
325
  }
308
326
 
@@ -310,5 +328,7 @@ private struct OnStepCapturedExposed: Codable {
310
328
  var stepId: String
311
329
  var originalImage: String?
312
330
  var croppedImage: String?
331
+ var originalImageBack: String?
332
+ var croppedImageBack: String?
313
333
  }
314
334
 
@@ -20,6 +20,10 @@ const initialize = (clientKey, theme, callback) => {
20
20
  (0, _IDWiseEventListeners.setInitializeEventListeners)(callback);
21
21
  RNIDWise.initialize(clientKey, theme);
22
22
  };
23
+ const isDeviceBlocked = () => {
24
+ console.log('IDWise - isDeviceBlocked');
25
+ return RNIDWise.isDeviceBlocked();
26
+ };
23
27
  const startJourney = (journeyDefinitionId, referenceNo, locale, applicantDetails, journeyCallback) => {
24
28
  console.log('IDWise - startJourney');
25
29
  (0, _IDWiseEventListeners.setJourneyEventListeners)(journeyCallback);
@@ -34,6 +38,7 @@ const resumeJourney = (journeyDefinitionId, journeyId, locale, journeyCallback)
34
38
  const IDWise = exports.IDWise = {
35
39
  initialize,
36
40
  startJourney,
37
- resumeJourney
41
+ resumeJourney,
42
+ isDeviceBlocked
38
43
  };
39
44
  //# sourceMappingURL=IDWise.js.map