diff --git a/example/build.gradle.kts b/example/build.gradle.kts index c579700..e23c58c 100644 --- a/example/build.gradle.kts +++ b/example/build.gradle.kts @@ -12,8 +12,8 @@ android { applicationId = "com.spruceid.mobilesdkexample" minSdk = 26 targetSdk = 34 - versionCode = 11 - versionName = "1.0.0+11" + versionCode = 13 + versionName = "1.0.0+13" testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" vectorDrawables { diff --git a/example/src/main/java/com/spruceid/mobilesdkexample/verifier/VerifierHomeView.kt b/example/src/main/java/com/spruceid/mobilesdkexample/verifier/VerifierHomeView.kt index bac2978..a637266 100644 --- a/example/src/main/java/com/spruceid/mobilesdkexample/verifier/VerifierHomeView.kt +++ b/example/src/main/java/com/spruceid/mobilesdkexample/verifier/VerifierHomeView.kt @@ -140,24 +140,22 @@ fun VerifierHomeBody( .padding(bottom = 60.dp)) { item { -// VerifierListItem( -// title = "Driver's License Document", -// description = "Verifies physical driver's licenses issued by the state of Utopia", -// binary = true, -// fields = 0, -// modifier = Modifier.clickable { -// navController.navigate(Screen.VerifyDLScreen.route) -// } -// ) -// VerifierListItem( -// title = "Employment Authorization Document", -// description = "Verifies physical Employment Authorization issued by the state of Utopia", -// binary = true, -// fields = 0, -// modifier = Modifier.clickable { -// navController.navigate(Screen.VerifyEAScreen.route) -// } -// ) + VerifierListItem( + title = "Driver's License Document", + description = "Verifies physical driver's licenses issued by the state of Utopia", + type = VerifierListItemTagType.SCAN_QR_CODE, + modifier = Modifier.clickable { + navController.navigate(Screen.VerifyDLScreen.route) + } + ) + VerifierListItem( + title = "Employment Authorization Document", + description = "Verifies physical Employment Authorization issued by the state of Utopia", + type = VerifierListItemTagType.SCAN_QR_CODE, + modifier = Modifier.clickable { + navController.navigate(Screen.VerifyEAScreen.route) + } + ) VerifierListItem( title = "Mobile Driver's Licence", description = "Verifies an ISO formatted mobile driver's license by reading a QR code", diff --git a/example/src/main/java/com/spruceid/mobilesdkexample/verifier/VerifyEAView.kt b/example/src/main/java/com/spruceid/mobilesdkexample/verifier/VerifyEAView.kt index 6ba5da8..6ab9b72 100644 --- a/example/src/main/java/com/spruceid/mobilesdkexample/verifier/VerifyEAView.kt +++ b/example/src/main/java/com/spruceid/mobilesdkexample/verifier/VerifyEAView.kt @@ -10,6 +10,7 @@ import androidx.compose.runtime.setValue import androidx.navigation.NavController import com.google.accompanist.permissions.ExperimentalPermissionsApi import com.spruceid.mobile.sdk.rs.verifyVcbQrcodeAgainstMrz +import com.spruceid.mobilesdkexample.LoadingView import com.spruceid.mobilesdkexample.ScanningComponent import com.spruceid.mobilesdkexample.ScanningType import kotlinx.coroutines.GlobalScope @@ -69,7 +70,9 @@ fun VerifyEAView( } VerifyEASteps.INTERMEDIATE -> { - Loader() + LoadingView( + loadingText = "Verifying..." + ) } VerifyEASteps.STEP_TWO -> {