'Jumio Android SDK not giving values in JumioIDResult and JumioFaceResult,returning NULL values
private val sdkForResultLauncher: ActivityResultLauncher<Intent> =
registerForActivityResult(ActivityResultContracts.StartActivityForResult()) { result: ActivityResult ->
val jumioResult: JumioResult =
result.data?.getSerializableExtra(JumioActivity.EXTRA_RESULT) as JumioResult
Log.d(TAG, "AccountId: ${jumioResult.accountId}")
Log.d(TAG, "WorkflowExecutionId: ${jumioResult.workflowExecutionId}")
if (jumioResult.isSuccess) {
jumioResult.credentialInfos?.forEach {
when (jumioResult.getResult(it)) {
is JumioIDResult -> { //check your id result here
}
is JumioFaceResult -> { //check your face result here
}
}
}
} else {
jumioResult.error?.let {
Log.d(TAG, it.message)
}
}
}
I'm using Jumio android SDK version 4.0.0.Above is the Jumio Android SDK sample code, I am able to upload ID proof and face selfie but I am getting NULL values in JumioIDResult and JumioFaceResult.
Thanks in advance!!
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
