From 59b2a6306d1b075a4fc847261c8a928f4871fa5d Mon Sep 17 00:00:00 2001 From: Juma Allan Date: Fri, 3 Nov 2023 20:35:26 +0300 Subject: [PATCH] Updated BiometricKYC IDInfo (#244) * fixed retry on failed document submission * fixed retry on failed document submission * reuse error and remove proxy * updated biometric kyc IDInfo * updated CHANGELOG.md * updated CHANGELOG.md * Update changelog --------- Co-authored-by: Vansh Gandhi --- CHANGELOG.md | 12 +++++++++--- .../smileidentity/viewmodel/BiometricKycViewModel.kt | 2 +- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b6fb6f149..21be1b473 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # Changelog -## 10.0.0-beta11 (unreleased) +## 10.0.0-beta12 (unreleased) ### Added @@ -9,6 +9,14 @@ ### Changed +### Removed + +## 10.0.0-beta11 + +### Fixed +- Fixed retry document submission on failed document submission +- Fixed missing `entered` key in BiometricKYC + ## 10.0.0-beta10 ### Added @@ -43,8 +51,6 @@ - Bump AGP to 8.1.2 - Bump Sentry to 6.30.0 -### Removed - ## 10.0.0-beta08 ### Added diff --git a/lib/src/main/java/com/smileidentity/viewmodel/BiometricKycViewModel.kt b/lib/src/main/java/com/smileidentity/viewmodel/BiometricKycViewModel.kt index c76f2c05b..b2f6804b2 100644 --- a/lib/src/main/java/com/smileidentity/viewmodel/BiometricKycViewModel.kt +++ b/lib/src/main/java/com/smileidentity/viewmodel/BiometricKycViewModel.kt @@ -101,7 +101,7 @@ class BiometricKycViewModel( val selfieImageInfo = selfieFile.asSelfieImage() val uploadRequest = UploadRequest( images = livenessImagesInfo + selfieImageInfo, - idInfo = idInfo, + idInfo = idInfo.copy(entered = true), ) SmileID.api.upload(prepUploadResponse.uploadUrl, uploadRequest) Timber.d("Upload finished")