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 appropriate OnboardingSessionConfiguration and/or OnboardingFlowConfiguration.
  • When calling AddIdScan on OnboardingFlowConfiguration instead of just one callback IdScanCallback, there are now 3 separate callbacks with appropriate results: IdFrontScanCallback returning IdFrontScanResult, IdBackScanCallback returning IdBackScanResult and IdProcessCallback returning IdProcessResult.
  • When calling AddFaceMatch on OnboardingFlowConfiguration, remove the faceMatchParams parameter.
  • When calling StartOnboarding, replace the OnboardingConfiguration parameter with 2 parameters sessionConfig and flowConfig, which are instances of OnboardingSessionConfiguration and OnboardingFlowConfiguration.
  • SetOnboardingSession and CreateNewOnboardingSession methods are replaced with the SetupOnboardingSession method that accepts instances of OnboardingSessionConfiguration.
  • Remove interviewId parameter from StartOnboardingSection and pass an instance of OnboardingFlowConfiguration.
  • From VerifyFace, remove customerToken parameter, and the result is now VerifyFaceResult type instead of SelfieScanResult.