Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updates verifier and app name #36

Merged
merged 2 commits into from
Oct 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions example/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ android {
applicationId = "com.spruceid.mobilesdkexample"
minSdk = 26
targetSdk = 34
versionCode = 3
versionName = "1.0.0+3"
versionCode = 5
versionName = "1.0.0+5"

testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
vectorDrawables {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,24 +108,24 @@ fun VerifierHomeBody(
.fillMaxWidth()
.verticalScroll(rememberScrollState())
) {
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",
// 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 = "Verifiable Credential",
description = "Verifies a verifiable credential by reading the verifiable presentation QR code",
Expand Down Expand Up @@ -161,7 +161,7 @@ fun VerifierListItem(
color = TextHeader,
modifier = Modifier.weight(2f)
)
VerifierListItemTag(binary = binary, fields = fields)
// VerifierListItemTag(binary = binary, fields = fields)
Spacer(modifier = Modifier.weight(1f))
Image(
painter = painterResource(id = R.drawable.arrow_right),
Expand Down
2 changes: 1 addition & 1 deletion example/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<resources>
<string name="app_name">SpruceKit</string>
<string name="app_name">SpruceKit Demo</string>
<string name="user">User profile</string>
<string name="scan_qr_code">Scan QR Code</string>
<string name="valid">Valid</string>
Expand Down
Loading