idwise-react-native-sdk 5.0.4 → 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/Info.plist +6 -6
- package/ios/IDWiseSDK.xcframework/ios-arm64/IDWiseSDK.framework/Assets.car +0 -0
- 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 +923 -723
- package/ios/IDWiseSDK.xcframework/ios-arm64/IDWiseSDK.framework/Modules/IDWiseSDK.swiftmodule/arm64-apple-ios.private.swiftinterface +2 -0
- package/ios/IDWiseSDK.xcframework/ios-arm64/IDWiseSDK.framework/Modules/IDWiseSDK.swiftmodule/arm64-apple-ios.swiftinterface +2 -0
- package/ios/IDWiseSDK.xcframework/ios-arm64/IDWiseSDK.framework/_CodeSignature/CodeResources +13 -13
- 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/Assets.car +0 -0
- 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 +923 -723
- package/ios/IDWiseSDK.xcframework/ios-x86_64-simulator/IDWiseSDK.framework/Modules/IDWiseSDK.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +2 -0
- package/ios/IDWiseSDK.xcframework/ios-x86_64-simulator/IDWiseSDK.framework/Modules/IDWiseSDK.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +2 -0
- package/ios/IDWiseSDK.xcframework/ios-x86_64-simulator/IDWiseSDK.framework/_CodeSignature/CodeResources +17 -17
- 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
|
@@ -192,7 +192,9 @@ class IdwiseMobileSdkModule(private val reactContext: ReactApplicationContext) :
|
|
|
192
192
|
|
|
193
193
|
val originalImage = convertImageToBase64String(stepCapturedInfo.originalImage)
|
|
194
194
|
val croppedImage = convertImageToBase64String(stepCapturedInfo.croppedImage)
|
|
195
|
-
val
|
|
195
|
+
val originalImageBack = convertImageToBase64String(stepCapturedInfo.originalImageBack)
|
|
196
|
+
val croppedImageBack = convertImageToBase64String(stepCapturedInfo.croppedImageBack)
|
|
197
|
+
val response = OnStepCapturedInfoExposed(stepCapturedInfo.stepId.toString(),originalImage,croppedImage,originalImageBack,croppedImageBack)
|
|
196
198
|
|
|
197
199
|
params.putString("data", Gson().toJson(response))
|
|
198
200
|
sendEvent("onStepCaptured", params)
|
|
@@ -246,7 +248,9 @@ class IdwiseMobileSdkModule(private val reactContext: ReactApplicationContext) :
|
|
|
246
248
|
internal data class OnStepCapturedInfoExposed(
|
|
247
249
|
val stepId:String,
|
|
248
250
|
val originalImage:String?,
|
|
249
|
-
val croppedImage:String
|
|
251
|
+
val croppedImage:String?,
|
|
252
|
+
val originalImageBack:String?,
|
|
253
|
+
val croppedImageBack:String
|
|
250
254
|
)
|
|
251
255
|
|
|
252
256
|
|
|
@@ -8,31 +8,31 @@
|
|
|
8
8
|
<key>BinaryPath</key>
|
|
9
9
|
<string>IDWiseSDK.framework/IDWiseSDK</string>
|
|
10
10
|
<key>LibraryIdentifier</key>
|
|
11
|
-
<string>ios-
|
|
11
|
+
<string>ios-arm64</string>
|
|
12
12
|
<key>LibraryPath</key>
|
|
13
13
|
<string>IDWiseSDK.framework</string>
|
|
14
14
|
<key>SupportedArchitectures</key>
|
|
15
15
|
<array>
|
|
16
|
-
<string>
|
|
16
|
+
<string>arm64</string>
|
|
17
17
|
</array>
|
|
18
18
|
<key>SupportedPlatform</key>
|
|
19
19
|
<string>ios</string>
|
|
20
|
-
<key>SupportedPlatformVariant</key>
|
|
21
|
-
<string>simulator</string>
|
|
22
20
|
</dict>
|
|
23
21
|
<dict>
|
|
24
22
|
<key>BinaryPath</key>
|
|
25
23
|
<string>IDWiseSDK.framework/IDWiseSDK</string>
|
|
26
24
|
<key>LibraryIdentifier</key>
|
|
27
|
-
<string>ios-
|
|
25
|
+
<string>ios-x86_64-simulator</string>
|
|
28
26
|
<key>LibraryPath</key>
|
|
29
27
|
<string>IDWiseSDK.framework</string>
|
|
30
28
|
<key>SupportedArchitectures</key>
|
|
31
29
|
<array>
|
|
32
|
-
<string>
|
|
30
|
+
<string>x86_64</string>
|
|
33
31
|
</array>
|
|
34
32
|
<key>SupportedPlatform</key>
|
|
35
33
|
<string>ios</string>
|
|
34
|
+
<key>SupportedPlatformVariant</key>
|
|
35
|
+
<string>simulator</string>
|
|
36
36
|
</dict>
|
|
37
37
|
</array>
|
|
38
38
|
<key>CFBundlePackageType</key>
|
|
Binary file
|
|
Binary file
|
|
Binary file
|