idwise-react-native-sdk 4.7.3-alpha.8 → 4.7.3

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 (31) hide show
  1. package/android/build.gradle +11 -2
  2. package/android/gradle.properties +3 -1
  3. package/idwise-react-native-sdk.podspec +41 -8
  4. package/ios/IDWiseSDK.xcframework/ios-arm64/IDWiseSDK.framework/Assets.car +0 -0
  5. package/ios/IDWiseSDK.xcframework/ios-arm64/IDWiseSDK.framework/Headers/IDWise.h +18 -0
  6. package/ios/IDWiseSDK.xcframework/ios-arm64/IDWiseSDK.framework/IDWiseSDK +0 -0
  7. package/ios/IDWiseSDK.xcframework/ios-arm64/IDWiseSDK.framework/Info.plist +0 -0
  8. package/ios/IDWiseSDK.xcframework/ios-arm64/IDWiseSDK.framework/Modules/IDWiseSDK.swiftmodule/arm64-apple-ios.abi.json +2805 -804
  9. package/ios/IDWiseSDK.xcframework/ios-arm64/IDWiseSDK.framework/Modules/IDWiseSDK.swiftmodule/arm64-apple-ios.private.swiftinterface +43 -6
  10. package/ios/IDWiseSDK.xcframework/ios-arm64/IDWiseSDK.framework/Modules/IDWiseSDK.swiftmodule/arm64-apple-ios.swiftinterface +43 -6
  11. package/ios/IDWiseSDK.xcframework/ios-arm64/IDWiseSDK.framework/_CodeSignature/CodeResources +24 -13
  12. package/ios/IDWiseSDK.xcframework/ios-arm64/IDWiseSDK.framework/document_detector.mlmodelc/coremldata.bin +0 -0
  13. package/ios/IDWiseSDK.xcframework/ios-x86_64-simulator/IDWiseSDK.framework/Assets.car +0 -0
  14. package/ios/IDWiseSDK.xcframework/ios-x86_64-simulator/IDWiseSDK.framework/Headers/IDWise.h +18 -0
  15. package/ios/IDWiseSDK.xcframework/ios-x86_64-simulator/IDWiseSDK.framework/IDWiseSDK +0 -0
  16. package/ios/IDWiseSDK.xcframework/ios-x86_64-simulator/IDWiseSDK.framework/Info.plist +0 -0
  17. package/ios/IDWiseSDK.xcframework/ios-x86_64-simulator/IDWiseSDK.framework/Modules/IDWiseSDK.swiftmodule/x86_64-apple-ios-simulator.abi.json +2805 -804
  18. package/ios/IDWiseSDK.xcframework/ios-x86_64-simulator/IDWiseSDK.framework/Modules/IDWiseSDK.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +43 -6
  19. package/ios/IDWiseSDK.xcframework/ios-x86_64-simulator/IDWiseSDK.framework/Modules/IDWiseSDK.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +43 -6
  20. package/ios/IDWiseSDK.xcframework/ios-x86_64-simulator/IDWiseSDK.framework/_CodeSignature/CodeResources +22 -11
  21. package/lib/commonjs/IDWise.js.map +1 -1
  22. package/lib/commonjs/IDWiseConstants.js.map +1 -1
  23. package/lib/commonjs/IDWiseEventListeners.js.map +1 -1
  24. package/lib/commonjs/index.js +1 -1
  25. package/lib/commonjs/index.js.map +1 -1
  26. package/lib/module/IDWise.js.map +1 -1
  27. package/lib/module/IDWiseConstants.js.map +1 -1
  28. package/lib/module/IDWiseEventListeners.js.map +1 -1
  29. package/lib/module/index.js.map +1 -1
  30. package/package.json +10 -5
  31. /package/ios/{IdwiseMobileSdk.h → IdwiseMobileSdk-Bridging-Header.h} +0 -0
@@ -125,13 +125,17 @@ public struct ExtractedFields : Swift.Equatable {
125
125
  public let fullName: IDWiseSDK.FieldValue?, fullNameNative: IDWiseSDK.FieldValue?, personalNumber: IDWiseSDK.FieldValue?
126
126
  public static func == (a: IDWiseSDK.ExtractedFields, b: IDWiseSDK.ExtractedFields) -> Swift.Bool
127
127
  }
128
- public struct FieldValue : Swift.Equatable {
128
+ public struct FieldValue : Swift.Equatable, Swift.Codable {
129
129
  public let value: Swift.String?
130
130
  public static func == (a: IDWiseSDK.FieldValue, b: IDWiseSDK.FieldValue) -> Swift.Bool
131
+ public func encode(to encoder: any Swift.Encoder) throws
132
+ public init(from decoder: any Swift.Decoder) throws
131
133
  }
132
- public struct NFCResult {
133
- public let facePhoto: UIKit.UIImage?
134
+ public struct NFCResult : Swift.Codable {
135
+ public let facePhoto: Foundation.Data?
134
136
  public var extractedFields: [Swift.String : IDWiseSDK.FieldValue]?
137
+ public func encode(to encoder: any Swift.Encoder) throws
138
+ public init(from decoder: any Swift.Decoder) throws
135
139
  }
136
140
  extension UIKit.UIFont {
137
141
  public static let loadCustomFonts: ()
@@ -421,14 +425,14 @@ public struct DocumentRecognition : Swift.Codable {
421
425
  public func encode(to encoder: any Swift.Encoder) throws
422
426
  public init(from decoder: any Swift.Decoder) throws
423
427
  }
424
- public struct JourneySummary : Swift.Codable {
428
+ public struct JourneySummaryInternal : Swift.Codable {
425
429
  public let journeyId: Swift.String
426
430
  public let isCompleted: Swift.Bool
427
- public var stepSummaries: [IDWiseSDK.JourneySummary.StepSummary]
431
+ public var stepSummaries: [IDWiseSDK.JourneySummaryInternal.StepSummary]
428
432
  public let journeyResult: IDWiseSDK.JourneyResultDTO?
429
433
  public let journeyDefinition: IDWiseSDK.JourneyDefinitionDTO?
430
434
  public struct StepSummary : Swift.Codable {
431
- public let definition: IDWiseSDK.JourneySummary.StepDefinition
435
+ public let definition: IDWiseSDK.JourneySummaryInternal.StepDefinition
432
436
  public var result: IDWiseSDK.StepResult?
433
437
  public let recognition: IDWiseSDK.DocumentRecognition?
434
438
  public func encode(to encoder: any Swift.Encoder) throws
@@ -466,6 +470,39 @@ public struct NFCConfigurationDTO : Swift.Codable {
466
470
  public func encode(to encoder: any Swift.Encoder) throws
467
471
  public init(from decoder: any Swift.Decoder) throws
468
472
  }
473
+ public struct JourneySummary : Swift.Codable {
474
+ public var isCompleted: Swift.Bool
475
+ public var journeyId: Swift.String
476
+ public var stepSummaries: [IDWiseSDK.JourneySummary.StepSummary]?
477
+ public var journeyResult: IDWiseSDK.JourneySummary.JourneyResult?
478
+ public struct StepSummary : Swift.Codable {
479
+ public func encode(to encoder: any Swift.Encoder) throws
480
+ public init(from decoder: any Swift.Decoder) throws
481
+ }
482
+ public struct StepDefinition : Swift.Codable {
483
+ public func encode(to encoder: any Swift.Encoder) throws
484
+ public init(from decoder: any Swift.Decoder) throws
485
+ }
486
+ public struct JourneyResult : Swift.Codable {
487
+ public var completedSteps: Swift.Int?
488
+ public let interimRuleAssessment: IDWiseSDK.InterimRuleAssessment?
489
+ public var interimRuleDetails: [Swift.String : IDWiseSDK.RuleDetail]?
490
+ public func encode(to encoder: any Swift.Encoder) throws
491
+ public init(from decoder: any Swift.Decoder) throws
492
+ }
493
+ public struct StepResult : Swift.Codable {
494
+ public let hasPassedRules: Swift.Bool?
495
+ public let isConcluded: Swift.Bool?
496
+ public let status: Swift.String?, errorUserFeedbackCode: Swift.String?, errorUserFeedbackTitle: Swift.String?, errorUserFeedbackDetails: Swift.String?
497
+ public var extractedFields: [Swift.String : IDWiseSDK.FieldValue]?
498
+ public var nfcResult: IDWiseSDK.NFCResult?
499
+ public var recognition: IDWiseSDK.DocumentRecognition?
500
+ public func encode(to encoder: any Swift.Encoder) throws
501
+ public init(from decoder: any Swift.Decoder) throws
502
+ }
503
+ public func encode(to encoder: any Swift.Encoder) throws
504
+ public init(from decoder: any Swift.Decoder) throws
505
+ }
469
506
  public struct AccessibilityIdentifier {
470
507
  }
471
508
  extension UIKit.UIImage {
@@ -125,13 +125,17 @@ public struct ExtractedFields : Swift.Equatable {
125
125
  public let fullName: IDWiseSDK.FieldValue?, fullNameNative: IDWiseSDK.FieldValue?, personalNumber: IDWiseSDK.FieldValue?
126
126
  public static func == (a: IDWiseSDK.ExtractedFields, b: IDWiseSDK.ExtractedFields) -> Swift.Bool
127
127
  }
128
- public struct FieldValue : Swift.Equatable {
128
+ public struct FieldValue : Swift.Equatable, Swift.Codable {
129
129
  public let value: Swift.String?
130
130
  public static func == (a: IDWiseSDK.FieldValue, b: IDWiseSDK.FieldValue) -> Swift.Bool
131
+ public func encode(to encoder: any Swift.Encoder) throws
132
+ public init(from decoder: any Swift.Decoder) throws
131
133
  }
132
- public struct NFCResult {
133
- public let facePhoto: UIKit.UIImage?
134
+ public struct NFCResult : Swift.Codable {
135
+ public let facePhoto: Foundation.Data?
134
136
  public var extractedFields: [Swift.String : IDWiseSDK.FieldValue]?
137
+ public func encode(to encoder: any Swift.Encoder) throws
138
+ public init(from decoder: any Swift.Decoder) throws
135
139
  }
136
140
  extension UIKit.UIFont {
137
141
  public static let loadCustomFonts: ()
@@ -421,14 +425,14 @@ public struct DocumentRecognition : Swift.Codable {
421
425
  public func encode(to encoder: any Swift.Encoder) throws
422
426
  public init(from decoder: any Swift.Decoder) throws
423
427
  }
424
- public struct JourneySummary : Swift.Codable {
428
+ public struct JourneySummaryInternal : Swift.Codable {
425
429
  public let journeyId: Swift.String
426
430
  public let isCompleted: Swift.Bool
427
- public var stepSummaries: [IDWiseSDK.JourneySummary.StepSummary]
431
+ public var stepSummaries: [IDWiseSDK.JourneySummaryInternal.StepSummary]
428
432
  public let journeyResult: IDWiseSDK.JourneyResultDTO?
429
433
  public let journeyDefinition: IDWiseSDK.JourneyDefinitionDTO?
430
434
  public struct StepSummary : Swift.Codable {
431
- public let definition: IDWiseSDK.JourneySummary.StepDefinition
435
+ public let definition: IDWiseSDK.JourneySummaryInternal.StepDefinition
432
436
  public var result: IDWiseSDK.StepResult?
433
437
  public let recognition: IDWiseSDK.DocumentRecognition?
434
438
  public func encode(to encoder: any Swift.Encoder) throws
@@ -466,6 +470,39 @@ public struct NFCConfigurationDTO : Swift.Codable {
466
470
  public func encode(to encoder: any Swift.Encoder) throws
467
471
  public init(from decoder: any Swift.Decoder) throws
468
472
  }
473
+ public struct JourneySummary : Swift.Codable {
474
+ public var isCompleted: Swift.Bool
475
+ public var journeyId: Swift.String
476
+ public var stepSummaries: [IDWiseSDK.JourneySummary.StepSummary]?
477
+ public var journeyResult: IDWiseSDK.JourneySummary.JourneyResult?
478
+ public struct StepSummary : Swift.Codable {
479
+ public func encode(to encoder: any Swift.Encoder) throws
480
+ public init(from decoder: any Swift.Decoder) throws
481
+ }
482
+ public struct StepDefinition : Swift.Codable {
483
+ public func encode(to encoder: any Swift.Encoder) throws
484
+ public init(from decoder: any Swift.Decoder) throws
485
+ }
486
+ public struct JourneyResult : Swift.Codable {
487
+ public var completedSteps: Swift.Int?
488
+ public let interimRuleAssessment: IDWiseSDK.InterimRuleAssessment?
489
+ public var interimRuleDetails: [Swift.String : IDWiseSDK.RuleDetail]?
490
+ public func encode(to encoder: any Swift.Encoder) throws
491
+ public init(from decoder: any Swift.Decoder) throws
492
+ }
493
+ public struct StepResult : Swift.Codable {
494
+ public let hasPassedRules: Swift.Bool?
495
+ public let isConcluded: Swift.Bool?
496
+ public let status: Swift.String?, errorUserFeedbackCode: Swift.String?, errorUserFeedbackTitle: Swift.String?, errorUserFeedbackDetails: Swift.String?
497
+ public var extractedFields: [Swift.String : IDWiseSDK.FieldValue]?
498
+ public var nfcResult: IDWiseSDK.NFCResult?
499
+ public var recognition: IDWiseSDK.DocumentRecognition?
500
+ public func encode(to encoder: any Swift.Encoder) throws
501
+ public init(from decoder: any Swift.Decoder) throws
502
+ }
503
+ public func encode(to encoder: any Swift.Encoder) throws
504
+ public init(from decoder: any Swift.Decoder) throws
505
+ }
469
506
  public struct AccessibilityIdentifier {
470
507
  }
471
508
  extension UIKit.UIImage {
@@ -6,7 +6,7 @@
6
6
  <dict>
7
7
  <key>Assets.car</key>
8
8
  <data>
9
- xMAo0rUn3d6cYklLEi57kn4gKpQ=
9
+ 2bWMk+3s5ANTedMrlENFLAh6HQA=
10
10
  </data>
11
11
  <key>BulletCell.nib</key>
12
12
  <data>
@@ -100,9 +100,13 @@
100
100
  <data>
101
101
  UrXQ59FqMa6AyTKJaahdjzW4Yg8=
102
102
  </data>
103
+ <key>Headers/IDWise.h</key>
104
+ <data>
105
+ XOs/wRpRLqWNsGDTOQ+2vNVymN0=
106
+ </data>
103
107
  <key>Info.plist</key>
104
108
  <data>
105
- crPHtMWbsLU6evpKCrWZhkXqLBM=
109
+ Vkj2rN3Qdk3c+wepZH4bBzuMscw=
106
110
  </data>
107
111
  <key>JourneyIntroductionViewController.storyboardc/A5G-4b-J84-view-Avi-oP-H2l.nib/objects-13.0+.nib</key>
108
112
  <data>
@@ -134,11 +138,11 @@
134
138
  </data>
135
139
  <key>Modules/IDWiseSDK.swiftmodule/arm64-apple-ios.abi.json</key>
136
140
  <data>
137
- 4um5YzBMBmuyxBYw348oJnWAqc0=
141
+ RAQMv07UF1pC1qABqgQcmK8s280=
138
142
  </data>
139
143
  <key>Modules/IDWiseSDK.swiftmodule/arm64-apple-ios.private.swiftinterface</key>
140
144
  <data>
141
- xATlGIqampUfH3RboxvTdoVDoh4=
145
+ 4Ezg8RYkQGLNXc9MRISfp8nD86k=
142
146
  </data>
143
147
  <key>Modules/IDWiseSDK.swiftmodule/arm64-apple-ios.swiftdoc</key>
144
148
  <data>
@@ -146,11 +150,11 @@
146
150
  </data>
147
151
  <key>Modules/IDWiseSDK.swiftmodule/arm64-apple-ios.swiftinterface</key>
148
152
  <data>
149
- xATlGIqampUfH3RboxvTdoVDoh4=
153
+ 4Ezg8RYkQGLNXc9MRISfp8nD86k=
150
154
  </data>
151
155
  <key>Modules/IDWiseSDK.swiftmodule/arm64-apple-ios.swiftmodule</key>
152
156
  <data>
153
- cg3Y1C8MHgg3Bu0W2R9OlIbo8Ls=
157
+ cRUwnkG8qF0nAg/gwivWP9Ptv+c=
154
158
  </data>
155
159
  <key>Mulish-Bold.ttf</key>
156
160
  <data>
@@ -242,7 +246,7 @@
242
246
  </data>
243
247
  <key>document_detector.mlmodelc/coremldata.bin</key>
244
248
  <data>
245
- aaXR+BpPN3sTXRWe9mXCzJb/XSU=
249
+ x3g53PPMGiV+lKaSqDvTgz742wg=
246
250
  </data>
247
251
  <key>document_detector.mlmodelc/metadata.json</key>
248
252
  <data>
@@ -332,7 +336,7 @@
332
336
  <dict>
333
337
  <key>hash2</key>
334
338
  <data>
335
- vs6IG0WgNtjGqEoBHnO5t3U7qFxgfg4hZcZR9m2XoF4=
339
+ sUvvPunw/D2VhdSxEXyOhJn51S6c4Co4gN4FIhxeVDk=
336
340
  </data>
337
341
  </dict>
338
342
  <key>BulletCell.nib</key>
@@ -496,6 +500,13 @@
496
500
  aGsas9I4ajFi+AkT2U8Z3WW5KaGPvezSkmwA/klkVos=
497
501
  </data>
498
502
  </dict>
503
+ <key>Headers/IDWise.h</key>
504
+ <dict>
505
+ <key>hash2</key>
506
+ <data>
507
+ zuiKFljNbrdA3h9D55Ab5wvs6F0ssptyR1Su+xddxBk=
508
+ </data>
509
+ </dict>
499
510
  <key>JourneyIntroductionViewController.storyboardc/A5G-4b-J84-view-Avi-oP-H2l.nib/objects-13.0+.nib</key>
500
511
  <dict>
501
512
  <key>hash2</key>
@@ -549,14 +560,14 @@
549
560
  <dict>
550
561
  <key>hash2</key>
551
562
  <data>
552
- QDlCQBtfblELrFqgZlN3gVDdYsEL08xLXMGNCDIiaf0=
563
+ 5oooAPTymmwZwr0e4+a8ezK5qYaTwiEZqY9rWsGrM8c=
553
564
  </data>
554
565
  </dict>
555
566
  <key>Modules/IDWiseSDK.swiftmodule/arm64-apple-ios.private.swiftinterface</key>
556
567
  <dict>
557
568
  <key>hash2</key>
558
569
  <data>
559
- ljmvrZzz9msJjcKufXiZyn8rIun3fTfLc7uK08n8i44=
570
+ hi64iAMJI1YWBF2qyXMhaR/Q6Y7ytrXgWjkIje1YqtE=
560
571
  </data>
561
572
  </dict>
562
573
  <key>Modules/IDWiseSDK.swiftmodule/arm64-apple-ios.swiftdoc</key>
@@ -570,14 +581,14 @@
570
581
  <dict>
571
582
  <key>hash2</key>
572
583
  <data>
573
- ljmvrZzz9msJjcKufXiZyn8rIun3fTfLc7uK08n8i44=
584
+ hi64iAMJI1YWBF2qyXMhaR/Q6Y7ytrXgWjkIje1YqtE=
574
585
  </data>
575
586
  </dict>
576
587
  <key>Modules/IDWiseSDK.swiftmodule/arm64-apple-ios.swiftmodule</key>
577
588
  <dict>
578
589
  <key>hash2</key>
579
590
  <data>
580
- ss3qlvsDCUqGQifyPLvuoT003FWhaQzNZXRARb7QdM8=
591
+ xU5d9Sm7S8M3sP0e7iqpDCwTcylSJZo0ZQaPDVOezOQ=
581
592
  </data>
582
593
  </dict>
583
594
  <key>Mulish-Bold.ttf</key>
@@ -738,7 +749,7 @@
738
749
  <dict>
739
750
  <key>hash2</key>
740
751
  <data>
741
- xQJZIUpZ6KJpXgBdnbqIWPkaEb9OmFw9J9fAdQEVe8k=
752
+ 55dJ0iU5Us0bBh1Ge1AzosaBJLWiPDIkB+UNHveoD08=
742
753
  </data>
743
754
  </dict>
744
755
  <key>document_detector.mlmodelc/metadata.json</key>
@@ -0,0 +1,18 @@
1
+ //
2
+ // IDWise_ios_sdk.h
3
+ // IDWise_ios_sdk
4
+ //
5
+ // Created by Hussein Alshlash on 10.04.2021.
6
+ //
7
+
8
+ #import <Foundation/Foundation.h>
9
+
10
+ //! Project version number for IDWise_ios_sdk.
11
+ FOUNDATION_EXPORT double IDWiseVersionNumber;
12
+
13
+ //! Project version string for IDWise_ios_sdk.
14
+ FOUNDATION_EXPORT const unsigned char IDWiseVersionString[];
15
+
16
+ // In this header, you should import all the public headers of your framework using statements like #import <IDWise_ios_sdk/PublicHeader.h>
17
+
18
+