idwise-react-native-sdk 5.0.3 → 5.0.5
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.
- package/android/gradle.properties +1 -1
- package/android/src/main/java/com/idwisemobilesdk/IdwiseMobileSdkModule.kt +6 -2
- package/ios/IDWiseSDK.xcframework/ios-arm64/IDWiseSDK.framework/IDWiseSDK +0 -0
- package/ios/IDWiseSDK.xcframework/ios-arm64/IDWiseSDK.framework/Info.plist +0 -0
- package/ios/IDWiseSDK.xcframework/ios-arm64/IDWiseSDK.framework/Modules/IDWiseSDK.swiftmodule/arm64-apple-ios.abi.json +2495 -1914
- package/ios/IDWiseSDK.xcframework/ios-arm64/IDWiseSDK.framework/Modules/IDWiseSDK.swiftmodule/arm64-apple-ios.private.swiftinterface +3 -1
- package/ios/IDWiseSDK.xcframework/ios-arm64/IDWiseSDK.framework/Modules/IDWiseSDK.swiftmodule/arm64-apple-ios.swiftinterface +3 -1
- package/ios/IDWiseSDK.xcframework/ios-arm64/IDWiseSDK.framework/ProcessJourneyViewController.storyboardc/yS7-79-T86-view-owr-v5-NaP.nib/objects-13.0+.nib +0 -0
- package/ios/IDWiseSDK.xcframework/ios-arm64/IDWiseSDK.framework/ProcessJourneyViewController.storyboardc/yS7-79-T86-view-owr-v5-NaP.nib/runtime.nib +0 -0
- package/ios/IDWiseSDK.xcframework/ios-arm64/IDWiseSDK.framework/_CodeSignature/CodeResources +17 -17
- package/ios/IDWiseSDK.xcframework/ios-arm64/IDWiseSDK.framework/document_detector.mlmodelc/coremldata.bin +0 -0
- package/ios/IDWiseSDK.xcframework/ios-arm64/IDWiseSDK.framework/document_detector.mlmodelc/metadata.json +2 -2
- package/ios/IDWiseSDK.xcframework/ios-x86_64-simulator/IDWiseSDK.framework/IDWiseSDK +0 -0
- package/ios/IDWiseSDK.xcframework/ios-x86_64-simulator/IDWiseSDK.framework/Info.plist +0 -0
- package/ios/IDWiseSDK.xcframework/ios-x86_64-simulator/IDWiseSDK.framework/Modules/IDWiseSDK.swiftmodule/x86_64-apple-ios-simulator.abi.json +2495 -1914
- package/ios/IDWiseSDK.xcframework/ios-x86_64-simulator/IDWiseSDK.framework/Modules/IDWiseSDK.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +3 -1
- package/ios/IDWiseSDK.xcframework/ios-x86_64-simulator/IDWiseSDK.framework/Modules/IDWiseSDK.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +3 -1
- package/ios/IDWiseSDK.xcframework/ios-x86_64-simulator/IDWiseSDK.framework/ProcessJourneyViewController.storyboardc/yS7-79-T86-view-owr-v5-NaP.nib/objects-13.0+.nib +0 -0
- package/ios/IDWiseSDK.xcframework/ios-x86_64-simulator/IDWiseSDK.framework/ProcessJourneyViewController.storyboardc/yS7-79-T86-view-owr-v5-NaP.nib/runtime.nib +0 -0
- package/ios/IDWiseSDK.xcframework/ios-x86_64-simulator/IDWiseSDK.framework/_CodeSignature/CodeResources +19 -19
- package/ios/IDWiseSDK.xcframework/ios-x86_64-simulator/IDWiseSDK.framework/document_detector.mlmodelc/coremldata.bin +0 -0
- package/ios/IDWiseSDK.xcframework/ios-x86_64-simulator/IDWiseSDK.framework/document_detector.mlmodelc/metadata.json +2 -2
- package/ios/IDWiseSDK.xcframework/ios-x86_64-simulator/IDWiseSDK.framework/document_detector.mlmodelc/model0/coremldata.bin +0 -0
- package/ios/IdwiseMobileSdk.swift +5 -1
- package/package.json +1 -1
|
@@ -230,7 +230,7 @@ public enum DataTransferError : Swift.Error {
|
|
|
230
230
|
case resolvedNetworkFailure(any Swift.Error)
|
|
231
231
|
}
|
|
232
232
|
public protocol DataTransferService {
|
|
233
|
-
typealias CompletionHandler<T> = (Swift.Result<T, IDWiseSDK.DataTransferError>, Foundation.Data?) -> Swift.Void
|
|
233
|
+
typealias CompletionHandler<T> = (Swift.Result<T, IDWiseSDK.DataTransferError>, Foundation.Data?, Foundation.URLResponse?) -> Swift.Void
|
|
234
234
|
@discardableResult
|
|
235
235
|
func request<T, E>(with endpoint: E, completion: @escaping Self.CompletionHandler<T>) -> (any IDWiseSDK.NetworkCancellable)? where T : Swift.Decodable, T == E.Response, E : IDWiseSDK.ResponseRequestable
|
|
236
236
|
@discardableResult
|
|
@@ -299,6 +299,8 @@ public struct StepCapturedInfo {
|
|
|
299
299
|
public let stepId: Swift.String
|
|
300
300
|
public let originalImage: UIKit.UIImage?
|
|
301
301
|
public let croppedImage: UIKit.UIImage?
|
|
302
|
+
public let originalImageBack: UIKit.UIImage?
|
|
303
|
+
public let croppedImageBack: UIKit.UIImage?
|
|
302
304
|
}
|
|
303
305
|
@_hasMissingDesignatedInitializers public class UIUtilities {
|
|
304
306
|
public static func addCircle(atPoint point: CoreFoundation.CGPoint, to view: UIKit.UIView, color: UIKit.UIColor, radius: CoreFoundation.CGFloat)
|
|
@@ -230,7 +230,7 @@ public enum DataTransferError : Swift.Error {
|
|
|
230
230
|
case resolvedNetworkFailure(any Swift.Error)
|
|
231
231
|
}
|
|
232
232
|
public protocol DataTransferService {
|
|
233
|
-
typealias CompletionHandler<T> = (Swift.Result<T, IDWiseSDK.DataTransferError>, Foundation.Data?) -> Swift.Void
|
|
233
|
+
typealias CompletionHandler<T> = (Swift.Result<T, IDWiseSDK.DataTransferError>, Foundation.Data?, Foundation.URLResponse?) -> Swift.Void
|
|
234
234
|
@discardableResult
|
|
235
235
|
func request<T, E>(with endpoint: E, completion: @escaping Self.CompletionHandler<T>) -> (any IDWiseSDK.NetworkCancellable)? where T : Swift.Decodable, T == E.Response, E : IDWiseSDK.ResponseRequestable
|
|
236
236
|
@discardableResult
|
|
@@ -299,6 +299,8 @@ public struct StepCapturedInfo {
|
|
|
299
299
|
public let stepId: Swift.String
|
|
300
300
|
public let originalImage: UIKit.UIImage?
|
|
301
301
|
public let croppedImage: UIKit.UIImage?
|
|
302
|
+
public let originalImageBack: UIKit.UIImage?
|
|
303
|
+
public let croppedImageBack: UIKit.UIImage?
|
|
302
304
|
}
|
|
303
305
|
@_hasMissingDesignatedInitializers public class UIUtilities {
|
|
304
306
|
public static func addCircle(atPoint point: CoreFoundation.CGPoint, to view: UIKit.UIView, color: UIKit.UIColor, radius: CoreFoundation.CGFloat)
|
|
Binary file
|
|
Binary file
|
|
@@ -106,7 +106,7 @@
|
|
|
106
106
|
</data>
|
|
107
107
|
<key>Info.plist</key>
|
|
108
108
|
<data>
|
|
109
|
-
|
|
109
|
+
uoej0u5dWw3MkbOmuG31gH77JwA=
|
|
110
110
|
</data>
|
|
111
111
|
<key>JourneyIntroductionViewController.storyboardc/A5G-4b-J84-view-Avi-oP-H2l.nib/objects-13.0+.nib</key>
|
|
112
112
|
<data>
|
|
@@ -138,11 +138,11 @@
|
|
|
138
138
|
</data>
|
|
139
139
|
<key>Modules/IDWiseSDK.swiftmodule/x86_64-apple-ios-simulator.abi.json</key>
|
|
140
140
|
<data>
|
|
141
|
-
|
|
141
|
+
yTrtQACw5569ftbaoxLxIQI+Ef4=
|
|
142
142
|
</data>
|
|
143
143
|
<key>Modules/IDWiseSDK.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface</key>
|
|
144
144
|
<data>
|
|
145
|
-
|
|
145
|
+
IhK3H7RTjA+EUkI8yJEscc/MDb8=
|
|
146
146
|
</data>
|
|
147
147
|
<key>Modules/IDWiseSDK.swiftmodule/x86_64-apple-ios-simulator.swiftdoc</key>
|
|
148
148
|
<data>
|
|
@@ -150,11 +150,11 @@
|
|
|
150
150
|
</data>
|
|
151
151
|
<key>Modules/IDWiseSDK.swiftmodule/x86_64-apple-ios-simulator.swiftinterface</key>
|
|
152
152
|
<data>
|
|
153
|
-
|
|
153
|
+
IhK3H7RTjA+EUkI8yJEscc/MDb8=
|
|
154
154
|
</data>
|
|
155
155
|
<key>Modules/IDWiseSDK.swiftmodule/x86_64-apple-ios-simulator.swiftmodule</key>
|
|
156
156
|
<data>
|
|
157
|
-
|
|
157
|
+
Lca4uw/6J7S2DX2z7cGF5U7ye6I=
|
|
158
158
|
</data>
|
|
159
159
|
<key>Mulish-Bold.ttf</key>
|
|
160
160
|
<data>
|
|
@@ -182,11 +182,11 @@
|
|
|
182
182
|
</data>
|
|
183
183
|
<key>ProcessJourneyViewController.storyboardc/yS7-79-T86-view-owr-v5-NaP.nib/objects-13.0+.nib</key>
|
|
184
184
|
<data>
|
|
185
|
-
|
|
185
|
+
u7DNkdjCup3QuL63uMnzRDv+WdU=
|
|
186
186
|
</data>
|
|
187
187
|
<key>ProcessJourneyViewController.storyboardc/yS7-79-T86-view-owr-v5-NaP.nib/runtime.nib</key>
|
|
188
188
|
<data>
|
|
189
|
-
|
|
189
|
+
aNOfHwmwqiXu9+Yvp6svf5HpEf0=
|
|
190
190
|
</data>
|
|
191
191
|
<key>ProgressBarMenuScreen.nib/objects-13.0+.nib</key>
|
|
192
192
|
<data>
|
|
@@ -246,11 +246,11 @@
|
|
|
246
246
|
</data>
|
|
247
247
|
<key>document_detector.mlmodelc/coremldata.bin</key>
|
|
248
248
|
<data>
|
|
249
|
-
|
|
249
|
+
aaXR+BpPN3sTXRWe9mXCzJb/XSU=
|
|
250
250
|
</data>
|
|
251
251
|
<key>document_detector.mlmodelc/metadata.json</key>
|
|
252
252
|
<data>
|
|
253
|
-
|
|
253
|
+
BsMj9R+3QGkJQhV5WvgqNChPGx4=
|
|
254
254
|
</data>
|
|
255
255
|
<key>document_detector.mlmodelc/model0/analytics/coremldata.bin</key>
|
|
256
256
|
<data>
|
|
@@ -258,7 +258,7 @@
|
|
|
258
258
|
</data>
|
|
259
259
|
<key>document_detector.mlmodelc/model0/coremldata.bin</key>
|
|
260
260
|
<data>
|
|
261
|
-
|
|
261
|
+
9/MJoxIZRg0qdxte7EMbuDJqB2M=
|
|
262
262
|
</data>
|
|
263
263
|
<key>document_detector.mlmodelc/model0/model.espresso.net</key>
|
|
264
264
|
<data>
|
|
@@ -560,14 +560,14 @@
|
|
|
560
560
|
<dict>
|
|
561
561
|
<key>hash2</key>
|
|
562
562
|
<data>
|
|
563
|
-
|
|
563
|
+
aLlQY87gt4jAjnVEuUsZMriB5lxWsneQVgkkM9ul7Rk=
|
|
564
564
|
</data>
|
|
565
565
|
</dict>
|
|
566
566
|
<key>Modules/IDWiseSDK.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface</key>
|
|
567
567
|
<dict>
|
|
568
568
|
<key>hash2</key>
|
|
569
569
|
<data>
|
|
570
|
-
|
|
570
|
+
7/U9M6Ei7li/VKVIxLRj0RHFP8bff0/0y99O4EGBKDs=
|
|
571
571
|
</data>
|
|
572
572
|
</dict>
|
|
573
573
|
<key>Modules/IDWiseSDK.swiftmodule/x86_64-apple-ios-simulator.swiftdoc</key>
|
|
@@ -581,14 +581,14 @@
|
|
|
581
581
|
<dict>
|
|
582
582
|
<key>hash2</key>
|
|
583
583
|
<data>
|
|
584
|
-
|
|
584
|
+
7/U9M6Ei7li/VKVIxLRj0RHFP8bff0/0y99O4EGBKDs=
|
|
585
585
|
</data>
|
|
586
586
|
</dict>
|
|
587
587
|
<key>Modules/IDWiseSDK.swiftmodule/x86_64-apple-ios-simulator.swiftmodule</key>
|
|
588
588
|
<dict>
|
|
589
589
|
<key>hash2</key>
|
|
590
590
|
<data>
|
|
591
|
-
|
|
591
|
+
DffEY72jePLk0T1/CqxATu8TuKom7io4hIJqgSRDTCE=
|
|
592
592
|
</data>
|
|
593
593
|
</dict>
|
|
594
594
|
<key>Mulish-Bold.ttf</key>
|
|
@@ -637,14 +637,14 @@
|
|
|
637
637
|
<dict>
|
|
638
638
|
<key>hash2</key>
|
|
639
639
|
<data>
|
|
640
|
-
|
|
640
|
+
E6OJeJz6KJsmb3856yzAHD1d5cra4l/g05/awte7Ask=
|
|
641
641
|
</data>
|
|
642
642
|
</dict>
|
|
643
643
|
<key>ProcessJourneyViewController.storyboardc/yS7-79-T86-view-owr-v5-NaP.nib/runtime.nib</key>
|
|
644
644
|
<dict>
|
|
645
645
|
<key>hash2</key>
|
|
646
646
|
<data>
|
|
647
|
-
|
|
647
|
+
TFwzgntCKZvQfhppCnNy/GrAKzwu1mW9OuowrMGLiGs=
|
|
648
648
|
</data>
|
|
649
649
|
</dict>
|
|
650
650
|
<key>ProgressBarMenuScreen.nib/objects-13.0+.nib</key>
|
|
@@ -749,14 +749,14 @@
|
|
|
749
749
|
<dict>
|
|
750
750
|
<key>hash2</key>
|
|
751
751
|
<data>
|
|
752
|
-
|
|
752
|
+
xQJZIUpZ6KJpXgBdnbqIWPkaEb9OmFw9J9fAdQEVe8k=
|
|
753
753
|
</data>
|
|
754
754
|
</dict>
|
|
755
755
|
<key>document_detector.mlmodelc/metadata.json</key>
|
|
756
756
|
<dict>
|
|
757
757
|
<key>hash2</key>
|
|
758
758
|
<data>
|
|
759
|
-
|
|
759
|
+
ttavkHwMq00AMNq8YVdvk0QgFrY/3Ct3L2XGHkZqFr8=
|
|
760
760
|
</data>
|
|
761
761
|
</dict>
|
|
762
762
|
<key>document_detector.mlmodelc/model0/analytics/coremldata.bin</key>
|
|
@@ -770,7 +770,7 @@
|
|
|
770
770
|
<dict>
|
|
771
771
|
<key>hash2</key>
|
|
772
772
|
<data>
|
|
773
|
-
|
|
773
|
+
cTCoaQqNdoeqy8Et5+UiYb/ViKEz6/zTidf51cBNJfY=
|
|
774
774
|
</data>
|
|
775
775
|
</dict>
|
|
776
776
|
<key>document_detector.mlmodelc/model0/model.espresso.net</key>
|
|
Binary file
|
|
@@ -90,9 +90,9 @@
|
|
|
90
90
|
],
|
|
91
91
|
"generatedClassName" : "document_detector",
|
|
92
92
|
"userDefinedMetadata" : {
|
|
93
|
-
"confidence_threshold" : "0.25",
|
|
94
93
|
"iou_threshold" : "0.45",
|
|
95
|
-
"classes" : "Doc"
|
|
94
|
+
"classes" : "Doc",
|
|
95
|
+
"confidence_threshold" : "0.25"
|
|
96
96
|
},
|
|
97
97
|
"neuralNetworkLayerTypeHistogram" : {
|
|
98
98
|
"Concat" : 13,
|
|
Binary file
|
|
@@ -245,8 +245,10 @@ extension IdwiseMobileSdk: IDWiseStepCallbacks {
|
|
|
245
245
|
do{
|
|
246
246
|
let originalImage = convertImageToBase64String(img: stepCapturedInfo.originalImage)
|
|
247
247
|
let croppedImage = convertImageToBase64String(img: stepCapturedInfo.croppedImage)
|
|
248
|
+
let originalImageBack = convertImageToBase64String(img: stepCapturedInfo.originalImageBack)
|
|
249
|
+
let croppedImageBack = convertImageToBase64String(img: stepCapturedInfo.croppedImageBack)
|
|
248
250
|
|
|
249
|
-
let captureResponse = OnStepCapturedExposed(stepId: stepCapturedInfo.stepId, originalImage: originalImage, croppedImage: croppedImage)
|
|
251
|
+
let captureResponse = OnStepCapturedExposed(stepId: stepCapturedInfo.stepId, originalImage: originalImage, croppedImage: croppedImage, originalImageBack:originalImageBack, croppedImageBack: croppedImageBack)
|
|
250
252
|
|
|
251
253
|
let jsonEncoder = JSONEncoder()
|
|
252
254
|
let jsonData = try jsonEncoder.encode(captureResponse)
|
|
@@ -310,5 +312,7 @@ private struct OnStepCapturedExposed: Codable {
|
|
|
310
312
|
var stepId: String
|
|
311
313
|
var originalImage: String?
|
|
312
314
|
var croppedImage: String?
|
|
315
|
+
var originalImageBack: String?
|
|
316
|
+
var croppedImageBack: String?
|
|
313
317
|
}
|
|
314
318
|
|