idwise-react-native-sdk 5.0.4 → 5.0.7

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 (20) hide show
  1. package/android/gradle.properties +1 -1
  2. package/android/src/main/java/com/idwisemobilesdk/IdwiseMobileSdkModule.kt +6 -2
  3. package/ios/IDWiseSDK.xcframework/ios-arm64/IDWiseSDK.framework/Assets.car +0 -0
  4. package/ios/IDWiseSDK.xcframework/ios-arm64/IDWiseSDK.framework/IDWiseSDK +0 -0
  5. package/ios/IDWiseSDK.xcframework/ios-arm64/IDWiseSDK.framework/Info.plist +0 -0
  6. package/ios/IDWiseSDK.xcframework/ios-arm64/IDWiseSDK.framework/Modules/IDWiseSDK.swiftmodule/arm64-apple-ios.abi.json +2357 -1264
  7. package/ios/IDWiseSDK.xcframework/ios-arm64/IDWiseSDK.framework/Modules/IDWiseSDK.swiftmodule/arm64-apple-ios.private.swiftinterface +21 -1
  8. package/ios/IDWiseSDK.xcframework/ios-arm64/IDWiseSDK.framework/Modules/IDWiseSDK.swiftmodule/arm64-apple-ios.swiftinterface +21 -1
  9. package/ios/IDWiseSDK.xcframework/ios-arm64/IDWiseSDK.framework/_CodeSignature/CodeResources +13 -13
  10. package/ios/IDWiseSDK.xcframework/ios-arm64/IDWiseSDK.framework/document_detector.mlmodelc/metadata.json +2 -2
  11. package/ios/IDWiseSDK.xcframework/ios-x86_64-simulator/IDWiseSDK.framework/Assets.car +0 -0
  12. package/ios/IDWiseSDK.xcframework/ios-x86_64-simulator/IDWiseSDK.framework/IDWiseSDK +0 -0
  13. package/ios/IDWiseSDK.xcframework/ios-x86_64-simulator/IDWiseSDK.framework/Info.plist +0 -0
  14. package/ios/IDWiseSDK.xcframework/ios-x86_64-simulator/IDWiseSDK.framework/Modules/IDWiseSDK.swiftmodule/x86_64-apple-ios-simulator.abi.json +2357 -1264
  15. package/ios/IDWiseSDK.xcframework/ios-x86_64-simulator/IDWiseSDK.framework/Modules/IDWiseSDK.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +21 -1
  16. package/ios/IDWiseSDK.xcframework/ios-x86_64-simulator/IDWiseSDK.framework/Modules/IDWiseSDK.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +21 -1
  17. package/ios/IDWiseSDK.xcframework/ios-x86_64-simulator/IDWiseSDK.framework/_CodeSignature/CodeResources +13 -13
  18. package/ios/IDWiseSDK.xcframework/ios-x86_64-simulator/IDWiseSDK.framework/document_detector.mlmodelc/coremldata.bin +0 -0
  19. package/ios/IdwiseMobileSdk.swift +5 -1
  20. package/package.json +1 -1
@@ -4,4 +4,4 @@ IdwiseMobileSdk_targetSdkVersion=31
4
4
  IdwiseMobileSdk_compileSdkVersion=31
5
5
  IdwiseMobileSdk_ndkversion=21.4.7075529
6
6
  # Idwise SDK version
7
- idwise_sdk_version=5.0.3
7
+ idwise_sdk_version=5.0.5
@@ -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 response = OnStepCapturedInfoExposed(stepCapturedInfo.stepId.toString(),originalImage,croppedImage)
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