Migration Guide
Migration from 1.X.X to 2.0.0
- Update Android
minSdkVersion
to 23 (<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'android'">23.0</SupportedOSPlatformVersion>
). - Replace
OnboardingConfiguration
with the appropriateOnboardingSessionConfiguration
and/orOnboardingFlowConfiguration
. - When calling
AddIdScan
onOnboardingFlowConfiguration
instead of just one callbackIdScanCallback
, there are now 3 separate callbacks with appropriate results:IdFrontScanCallback
returningIdFrontScanResult
,IdBackScanCallback
returningIdBackScanResult
andIdProcessCallback
returningIdProcessResult
. - When calling
AddFaceMatch
onOnboardingFlowConfiguration
, remove thefaceMatchParams
parameter. - When calling
StartOnboarding
, replace theOnboardingConfiguration
parameter with 2 parameterssessionConfig
andflowConfig
, which are instances ofOnboardingSessionConfiguration
andOnboardingFlowConfiguration
. SetOnboardingSession
andCreateNewOnboardingSession
methods are replaced with theSetupOnboardingSession
method that accepts instances ofOnboardingSessionConfiguration
.- Remove
interviewId
parameter fromStartOnboardingSection
and pass an instance ofOnboardingFlowConfiguration
. - From
VerifyFace
, removecustomerToken
parameter, and the result is nowVerifyFaceResult
type instead ofSelfieScanResult
.
Updated about 3 hours ago