diff --git a/sample-app/app/build.gradle b/sample-app/app/build.gradle index 4e487af..2ac7b8b 100644 --- a/sample-app/app/build.gradle +++ b/sample-app/app/build.gradle @@ -11,7 +11,7 @@ android { minSdk 22 targetSdk 34 versionCode 11 - versionName "5.0.0" + versionName "5.0.2" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } @@ -39,7 +39,7 @@ dependencies { implementation 'com.google.android.material:material:1.6.1' implementation 'androidx.constraintlayout:constraintlayout:2.1.4' - def sdk_version = "5.0.1" + def sdk_version = "5.0.2" implementation "com.socure.android:docv-capture:$sdk_version" def retrofit_version = "2.9.0" diff --git a/sample-app/app/src/main/java/com/socure/docv/sdk/sample/MainActivity.kt b/sample-app/app/src/main/java/com/socure/docv/sdk/sample/MainActivity.kt index 3f24365..84716b5 100644 --- a/sample-app/app/src/main/java/com/socure/docv/sdk/sample/MainActivity.kt +++ b/sample-app/app/src/main/java/com/socure/docv/sdk/sample/MainActivity.kt @@ -76,7 +76,9 @@ class MainActivity : AppCompatActivity() { SocureDocVContext( it.data.docvTransactionToken, PUBLIC_KEY, - false + false, + null, + null ) ) ) @@ -101,14 +103,14 @@ class MainActivity : AppCompatActivity() { if (result is SocureDocVSuccess) { Toast.makeText( this@MainActivity, - "onSuccess called: ${result.sessionToken}", + "onSuccess called: ${result.deviceSessionToken}", Toast.LENGTH_SHORT ).show() } else { val error = result as? SocureDocVFailure Toast.makeText( this@MainActivity, - "onError called: ${error?.sessionToken}, ${error?.error}", + "onError called: ${error?.deviceSessionToken}, ${error?.error}", Toast.LENGTH_SHORT ).show() }