diff --git a/.gitignore b/.gitignore index 7e67ed3..537ab2c 100644 --- a/.gitignore +++ b/.gitignore @@ -47,6 +47,14 @@ Desktop.ini ###################### xcuserdata/ *.xcuserstate +*.xcframework + +###################### +# MATTR SDK distributions +###################### +# SDKs are distributed separately and added by each developer locally. +# Don't commit the unzipped artifacts that the sample apps look for. +*/repo/global/ ###################### # Mac OSX diff --git a/android-remote-verification-tutorial-sample-app/README.md b/android-remote-verification-tutorial-sample-app/README.md new file mode 100644 index 0000000..f75413a --- /dev/null +++ b/android-remote-verification-tutorial-sample-app/README.md @@ -0,0 +1,72 @@ +[![MATTR](../docs/assets/mattr-logo-square.svg)](https://github.com/mattrglobal) + +# Android Remote Mobile Verifier Tutorial Sample App + +A Jetpack Compose sample app that uses MATTR's `MobileCredentialVerifier` SDK to verify a mobile document (mDoc, for example a mobile driver's license) presented from a wallet app on the same device. The exchange follows OID4VP and ISO/IEC 18013-7 Annex B (the "remote" same-device presentation workflow). + +This project accompanies the [Remote mobile verifiers tutorial](https://learn.mattr.global/docs/verification/remote-mobile-verifiers/tutorial). + +## What the app does + +1. Shows a **Request credentials** button that builds a presentation request for an mDL (`org.iso.18013.5.1.mDL`) and asks for the `family_name`, `given_name`, and `birth_date` claims. +2. Hands off to a compliant wallet app on the device, where the holder consents to share the requested claims. +3. Receives the verification result back via the OID4VP deep link declared in `AndroidManifest.xml` and renders the verified claims, the overall verification status, and any claim errors. + +## Prerequisites + +- Android Studio with a Kotlin DSL project setup. +- A physical Android device with API 24 or higher and internet access (the wallet redirect flow needs a real device). +- The MATTR `mobile-credential-verifier-.zip` SDK distribution. This is distributed by MATTR and is **not** included in this repository. +- A configured MATTR VII tenant with a verifier application configuration (type `android`), a supported wallet configuration, and a trusted issuer. These are configured out of band; see the tutorial for details. + +## Setup + +1. **Add the SDK to the local repo.** Unzip `mobile-credential-verifier-.zip`, then copy its `global` folder into the project's [repo/](repo/) directory at the root. Gradle resolves the `global.mattr.mobilecredential:verifier` dependency from there. + +2. **Set your application id.** Open [app/build.gradle.kts](app/build.gradle.kts) and replace the placeholder `applicationId`: + + ```kotlin + applicationId = "com.example.mobileverifiertutorial" + ``` + + The deep link scheme in [AndroidManifest.xml](app/src/main/AndroidManifest.xml) is bound to `${applicationId}`, so changing this value automatically updates the scheme that the wallet will redirect to. + +3. **Point the app at your tenant.** Open [Constants.kt](app/src/main/java/com/example/mobileverifiertutorial/Constants.kt) and replace both placeholders: + + ```kotlin + object Constants { + const val TENANT_HOST = "https://your-tenant.vii.your-region.mattr.global" + const val APPLICATION_ID = "your-application-id" + } + ``` + + - `TENANT_HOST` is the base URL of your MATTR VII tenant. + - `APPLICATION_ID` is the `id` of the verifier application configuration created in your tenant. + +4. **Register your signing certificate with MATTR VII.** Get the SHA-256 thumbprint of your debug (or release) signing certificate: + + ```bash + ./gradlew signingReport + ``` + + Strip the colons and lowercase it, then update your tenant's verifier application configuration so that `packageName` matches step 2, `openid4vpConfiguration.redirectUri` uses `://oid4vp-callback`, and `packageSigningCertificateThumbprints` includes the thumbprint. This is done out of band against your MATTR VII tenant; see the tutorial for the exact request. + +## Project structure + +| Path | Purpose | +| --- | --- | +| [app/src/main/java/com/example/mobileverifiertutorial/Constants.kt](app/src/main/java/com/example/mobileverifiertutorial/Constants.kt) | Tenant host and application id (replace the placeholders). | +| [app/src/main/java/com/example/mobileverifiertutorial/MainActivity.kt](app/src/main/java/com/example/mobileverifiertutorial/MainActivity.kt) | SDK initialization, the credential request, and the view model that exposes results. | +| [app/src/main/java/com/example/mobileverifiertutorial/DocumentView.kt](app/src/main/java/com/example/mobileverifiertutorial/DocumentView.kt) | Composable that renders a verified document and its claims. | +| [app/src/main/AndroidManifest.xml](app/src/main/AndroidManifest.xml) | Declares the OID4VP callback intent filter bound to `${applicationId}`. | +| [settings.gradle.kts](settings.gradle.kts) | Adds the local `repo/` directory as a maven repository for the SDK. | +| [repo/](repo/) | Drop the unzipped SDK `global` folder here. Empty until you do. | + +## Notes + +- The placeholder values let the project sync and the app launch, but a credential request only succeeds once `Constants` points at a real tenant and application configuration, the signing thumbprint is registered with that tenant, and a compatible wallet is installed on the device. +- Trusted issuer certificates for the remote workflow are managed in your MATTR VII tenant, not in the app. + +--- + +

Copyright © MATTR Limited. Some rights reserved.
“MATTR” is a trademark of MATTR Limited, registered in New Zealand and other countries.

diff --git a/android-remote-verification-tutorial-sample-app/app/.gitignore b/android-remote-verification-tutorial-sample-app/app/.gitignore new file mode 100644 index 0000000..796b96d --- /dev/null +++ b/android-remote-verification-tutorial-sample-app/app/.gitignore @@ -0,0 +1 @@ +/build diff --git a/android-remote-verification-tutorial-sample-app/app/build.gradle.kts b/android-remote-verification-tutorial-sample-app/app/build.gradle.kts new file mode 100644 index 0000000..e5bd1d5 --- /dev/null +++ b/android-remote-verification-tutorial-sample-app/app/build.gradle.kts @@ -0,0 +1,67 @@ +plugins { + alias(libs.plugins.android.application) + alias(libs.plugins.kotlin.android) + alias(libs.plugins.kotlin.compose) +} + +android { + namespace = "com.example.mobileverifiertutorial" + compileSdk = 36 + + defaultConfig { + // Replace this with a package name you own before running on a real + // tenant. Whatever value you choose is also injected as the deep link + // scheme via ${applicationId} in AndroidManifest.xml, and must match + // the redirect URI configured for your verifier application in MATTR VII. + applicationId = "com.example.mobileverifiertutorial" + minSdk = 24 + targetSdk = 36 + versionCode = 1 + versionName = "1.0" + + testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" + } + + buildTypes { + release { + isMinifyEnabled = false + proguardFiles( + getDefaultProguardFile("proguard-android-optimize.txt"), + "proguard-rules.pro" + ) + } + } + compileOptions { + sourceCompatibility = JavaVersion.VERSION_11 + targetCompatibility = JavaVersion.VERSION_11 + } + kotlinOptions { + jvmTarget = "11" + } + buildFeatures { + compose = true + } +} + +dependencies { + implementation(libs.androidx.core.ktx) + implementation(libs.androidx.lifecycle.runtime.ktx) + implementation(libs.androidx.lifecycle.viewmodel.compose) + implementation(libs.androidx.activity.compose) + implementation(platform(libs.androidx.compose.bom)) + implementation(libs.androidx.compose.ui) + implementation(libs.androidx.compose.ui.graphics) + implementation(libs.androidx.compose.ui.tooling.preview) + implementation(libs.androidx.compose.material3) + testImplementation(libs.junit) + androidTestImplementation(libs.androidx.junit) + androidTestImplementation(libs.androidx.espresso.core) + androidTestImplementation(platform(libs.androidx.compose.bom)) + androidTestImplementation(libs.androidx.compose.ui.test.junit4) + debugImplementation(libs.androidx.compose.ui.tooling) + debugImplementation(libs.androidx.compose.ui.test.manifest) + + // MATTR MobileCredentialVerifier SDK — resolved from the local `repo` directory. + implementation("global.mattr.mobilecredential:verifier:6.1.0") + implementation("androidx.navigation:navigation-compose:2.9.0") +} diff --git a/android-remote-verification-tutorial-sample-app/app/proguard-rules.pro b/android-remote-verification-tutorial-sample-app/app/proguard-rules.pro new file mode 100644 index 0000000..f1b4245 --- /dev/null +++ b/android-remote-verification-tutorial-sample-app/app/proguard-rules.pro @@ -0,0 +1,21 @@ +# Add project specific ProGuard rules here. +# You can control the set of applied configuration files using the +# proguardFiles setting in build.gradle. +# +# For more details, see +# http://developer.android.com/guide/developing/tools/proguard.html + +# If your project uses WebView with JS, uncomment the following +# and specify the fully qualified class name to the JavaScript interface +# class: +#-keepclassmembers class fqcn.of.javascript.interface.for.webview { +# public *; +#} + +# Uncomment this to preserve the line number information for +# debugging stack traces. +#-keepattributes SourceFile,LineNumberTable + +# If you keep the line number information, uncomment this to +# hide the original source file name. +#-renamesourcefileattribute SourceFile diff --git a/android-remote-verification-tutorial-sample-app/app/src/main/AndroidManifest.xml b/android-remote-verification-tutorial-sample-app/app/src/main/AndroidManifest.xml new file mode 100644 index 0000000..ea7c3d6 --- /dev/null +++ b/android-remote-verification-tutorial-sample-app/app/src/main/AndroidManifest.xml @@ -0,0 +1,47 @@ + + + + + + + + + + + + + + + + + + + + + + + diff --git a/android-remote-verification-tutorial-sample-app/app/src/main/java/com/example/mobileverifiertutorial/Constants.kt b/android-remote-verification-tutorial-sample-app/app/src/main/java/com/example/mobileverifiertutorial/Constants.kt new file mode 100644 index 0000000..e0a8e2e --- /dev/null +++ b/android-remote-verification-tutorial-sample-app/app/src/main/java/com/example/mobileverifiertutorial/Constants.kt @@ -0,0 +1,15 @@ +package com.example.mobileverifiertutorial + +// MARK: - Constants +// These values are specific to your own MATTR VII tenant and to the verifier +// application configuration you create within it (handled out of band, see the README). +// Replace both placeholders before running a real verification: +// - TENANT_HOST: the base URL of your MATTR VII tenant. +// - APPLICATION_ID: the `id` returned when you create the presentation application +// configuration in your tenant. +// The app will launch with these placeholder values, but a credential request will only +// succeed once they point at a real tenant and application configuration. +object Constants { + const val TENANT_HOST = "https://your-tenant.vii.your-region.mattr.global" + const val APPLICATION_ID = "your-application-id" +} diff --git a/android-remote-verification-tutorial-sample-app/app/src/main/java/com/example/mobileverifiertutorial/DocumentView.kt b/android-remote-verification-tutorial-sample-app/app/src/main/java/com/example/mobileverifiertutorial/DocumentView.kt new file mode 100644 index 0000000..f2aca84 --- /dev/null +++ b/android-remote-verification-tutorial-sample-app/app/src/main/java/com/example/mobileverifiertutorial/DocumentView.kt @@ -0,0 +1,70 @@ +package com.example.mobileverifiertutorial + +import androidx.compose.foundation.layout.Column +import androidx.compose.foundation.layout.Spacer +import androidx.compose.foundation.layout.fillMaxWidth +import androidx.compose.foundation.layout.height +import androidx.compose.foundation.layout.padding +import androidx.compose.material3.Card +import androidx.compose.material3.CardDefaults +import androidx.compose.material3.MaterialTheme +import androidx.compose.material3.Text +import androidx.compose.runtime.Composable +import androidx.compose.ui.Modifier +import androidx.compose.ui.graphics.Color +import androidx.compose.ui.text.font.FontWeight +import androidx.compose.ui.unit.dp +import global.mattr.mobilecredential.verifier.dto.MobileCredentialPresentation + +// MARK: - Section: Display Results (Step 4) +// Renders a single received mDoc as a Material card showing: +// - The document type (e.g. org.iso.18013.5.1.mDL) +// - The overall verification status (Verified / Invalid), colored +// - The flat list of claims that were returned +@Composable +fun DocumentView(document: MobileCredentialPresentation, modifier: Modifier = Modifier) { + val verified: Boolean = document.verificationResult.verified + val statusText: String = if (verified) "Verified" else "Invalid" + val statusColor: Color = if (verified) Color.Green else Color.Red + val flatClaims: List = document.claims?.flatMap { (_, claimsMap) -> + claimsMap.map { (claim, value) -> "$claim: ${value.value}" } + } ?: emptyList() + + Card( + modifier = modifier.fillMaxWidth(), + colors = CardDefaults.cardColors(containerColor = Color.White), + elevation = CardDefaults.cardElevation(defaultElevation = 2.dp) + ) { + Column(modifier = Modifier.padding(16.dp)) { + Text( + text = document.docType, + color = Color.Black, + style = MaterialTheme.typography.titleLarge, + fontWeight = FontWeight.Bold, + ) + Spacer(modifier = Modifier.height(4.dp)) + Text( + text = statusText, + color = statusColor, + style = MaterialTheme.typography.titleMedium, + fontWeight = FontWeight.SemiBold + ) + Spacer(modifier = Modifier.height(12.dp)) + if (flatClaims.isEmpty()) { + Text( + text = "No claims", + color = Color.Black, + style = MaterialTheme.typography.labelMedium, + ) + } else { + flatClaims.forEach { line -> + Text( + text = line, + color = Color.Black, + style = MaterialTheme.typography.labelMedium + ) + } + } + } + } +} diff --git a/android-remote-verification-tutorial-sample-app/app/src/main/java/com/example/mobileverifiertutorial/MainActivity.kt b/android-remote-verification-tutorial-sample-app/app/src/main/java/com/example/mobileverifiertutorial/MainActivity.kt new file mode 100644 index 0000000..a176b2f --- /dev/null +++ b/android-remote-verification-tutorial-sample-app/app/src/main/java/com/example/mobileverifiertutorial/MainActivity.kt @@ -0,0 +1,152 @@ +package com.example.mobileverifiertutorial + +import android.app.Activity +import android.os.Bundle +import androidx.activity.ComponentActivity +import androidx.activity.compose.setContent +import androidx.activity.enableEdgeToEdge +import androidx.compose.foundation.layout.Arrangement +import androidx.compose.foundation.layout.Column +import androidx.compose.foundation.layout.fillMaxSize +import androidx.compose.foundation.layout.fillMaxWidth +import androidx.compose.foundation.layout.padding +import androidx.compose.foundation.lazy.LazyColumn +import androidx.compose.foundation.lazy.items +import androidx.compose.material3.Button +import androidx.compose.material3.Scaffold +import androidx.compose.material3.Text +import androidx.compose.runtime.Composable +import androidx.compose.runtime.collectAsState +import androidx.compose.runtime.getValue +import androidx.compose.ui.Alignment +import androidx.compose.ui.Modifier +import androidx.compose.ui.platform.LocalContext +import androidx.compose.ui.tooling.preview.Preview +import androidx.lifecycle.ViewModel +import androidx.lifecycle.lifecycleScope +import androidx.lifecycle.viewModelScope +import androidx.lifecycle.viewmodel.compose.viewModel +import com.example.mobileverifiertutorial.ui.theme.MobileVerifierTutorialTheme +import global.mattr.mobilecredential.verifier.MobileCredentialVerifier +import global.mattr.mobilecredential.verifier.PlatformConfiguration +import global.mattr.mobilecredential.verifier.deviceretrieval.devicerequest.DataElements +import global.mattr.mobilecredential.verifier.deviceretrieval.devicerequest.NameSpaces +import global.mattr.mobilecredential.verifier.dto.MobileCredentialPresentation +import global.mattr.mobilecredential.verifier.dto.MobileCredentialRequest +import kotlinx.coroutines.flow.MutableStateFlow +import kotlinx.coroutines.flow.StateFlow +import kotlinx.coroutines.launch +import java.net.URL + +// MARK: - Section: Initialize the SDK (Step 2) +// MainActivity hosts the verifier UI and initializes the MobileCredentialVerifier SDK on +// startup. The remote workflow uses a single Activity: a "Request credentials" button +// kicks off the OID4VP presentation request, the OS hands off to a compliant wallet app, +// and the wallet eventually redirects back via the deep link declared in AndroidManifest.xml. +class MainActivity : ComponentActivity() { + override fun onCreate(savedInstanceState: Bundle?) { + super.onCreate(savedInstanceState) + enableEdgeToEdge() + setContent { + MobileVerifierTutorialTheme { + Scaffold(modifier = Modifier.fillMaxSize()) { innerPadding -> + Content( + modifier = Modifier.padding(innerPadding) + ) + } + } + } + + // Step 2.3: Setup platform configuration with the MATTR VII tenant host. + val platformConfiguration = PlatformConfiguration( + tenantHost = URL(Constants.TENANT_HOST) + ) + + // Step 2.4: Initialize the SDK. Must complete before any other SDK calls. + lifecycleScope.launch { + MobileCredentialVerifier.initialize( + context = this@MainActivity, platformConfiguration = platformConfiguration + ) + } + } +} + +@Composable +fun Content(modifier: Modifier = Modifier) { + val activity = (LocalContext.current) as Activity + val viewModel: VerifierViewModel = viewModel() + + val documents by viewModel.receivedDocuments.collectAsState() + + Column( + modifier = modifier.fillMaxSize(), + verticalArrangement = Arrangement.Center, + horizontalAlignment = Alignment.CenterHorizontally + ) { + Button(onClick = { + viewModel.requestCredentials(activity) + }) { + Text("Request credentials") + } + // Step 4.5: Render any received documents. + LazyColumn(modifier = Modifier.fillMaxWidth()) { + items(documents) { document -> + DocumentView(document) + } + } + } +} + +@Preview(showBackground = true) +@Composable +fun ContentPreview() { + MobileVerifierTutorialTheme { + Content() + } +} + +// MARK: - VerifierViewModel +// Holds the credential request definition, kicks off the presentation, and exposes the +// list of received documents to the UI as a StateFlow. +class VerifierViewModel : ViewModel() { + private val _receivedDocuments = + MutableStateFlow>(emptyList()) + val receivedDocuments: StateFlow> = _receivedDocuments + + fun requestCredentials(activity: Activity) { + // Step 3.1: Build the MobileCredentialRequest. docType selects the credential type + // and namespaces declares which claims to request. Each claim's boolean flag + // indicates whether the verifier intends to retain (persist) the value. + val mobileCredentialRequest = MobileCredentialRequest( + docType = "org.iso.18013.5.1.mDL", namespaces = NameSpaces( + mapOf( + "org.iso.18013.5.1" to DataElements( + mapOf( + "family_name" to false, "given_name" to false, "birth_date" to false + ) + ) + ) + ) + ) + + viewModelScope.launch { + _receivedDocuments.value = emptyList() + try { + // Step 3.2: Request credentials. The SDK launches the wallet via OID4VP and + // suspends until the wallet redirects back via the deep link registered in + // AndroidManifest.xml, at which point the response is returned here. + val onlinePresentationResult = MobileCredentialVerifier.requestMobileCredentials( + activity = activity, + request = listOf(mobileCredentialRequest), + applicationId = Constants.APPLICATION_ID + ) + + // Step 4.2: Surface the verified credentials to the UI. + _receivedDocuments.value = + onlinePresentationResult.mobileCredentialResponse?.credentials ?: emptyList() + } catch (e: Exception) { + e.printStackTrace() + } + } + } +} diff --git a/android-remote-verification-tutorial-sample-app/app/src/main/java/com/example/mobileverifiertutorial/ui/theme/Color.kt b/android-remote-verification-tutorial-sample-app/app/src/main/java/com/example/mobileverifiertutorial/ui/theme/Color.kt new file mode 100644 index 0000000..488835e --- /dev/null +++ b/android-remote-verification-tutorial-sample-app/app/src/main/java/com/example/mobileverifiertutorial/ui/theme/Color.kt @@ -0,0 +1,11 @@ +package com.example.mobileverifiertutorial.ui.theme + +import androidx.compose.ui.graphics.Color + +val Purple80 = Color(0xFFD0BCFF) +val PurpleGrey80 = Color(0xFFCCC2DC) +val Pink80 = Color(0xFFEFB8C8) + +val Purple40 = Color(0xFF6650a4) +val PurpleGrey40 = Color(0xFF625b71) +val Pink40 = Color(0xFF7D5260) diff --git a/android-remote-verification-tutorial-sample-app/app/src/main/java/com/example/mobileverifiertutorial/ui/theme/Theme.kt b/android-remote-verification-tutorial-sample-app/app/src/main/java/com/example/mobileverifiertutorial/ui/theme/Theme.kt new file mode 100644 index 0000000..3e07312 --- /dev/null +++ b/android-remote-verification-tutorial-sample-app/app/src/main/java/com/example/mobileverifiertutorial/ui/theme/Theme.kt @@ -0,0 +1,47 @@ +package com.example.mobileverifiertutorial.ui.theme + +import android.os.Build +import androidx.compose.foundation.isSystemInDarkTheme +import androidx.compose.material3.MaterialTheme +import androidx.compose.material3.darkColorScheme +import androidx.compose.material3.dynamicDarkColorScheme +import androidx.compose.material3.dynamicLightColorScheme +import androidx.compose.material3.lightColorScheme +import androidx.compose.runtime.Composable +import androidx.compose.ui.platform.LocalContext + +private val DarkColorScheme = darkColorScheme( + primary = Purple80, + secondary = PurpleGrey80, + tertiary = Pink80 +) + +private val LightColorScheme = lightColorScheme( + primary = Purple40, + secondary = PurpleGrey40, + tertiary = Pink40 +) + +@Composable +fun MobileVerifierTutorialTheme( + darkTheme: Boolean = isSystemInDarkTheme(), + // Dynamic color is available on Android 12+ + dynamicColor: Boolean = true, + content: @Composable () -> Unit +) { + val colorScheme = when { + dynamicColor && Build.VERSION.SDK_INT >= Build.VERSION_CODES.S -> { + val context = LocalContext.current + if (darkTheme) dynamicDarkColorScheme(context) else dynamicLightColorScheme(context) + } + + darkTheme -> DarkColorScheme + else -> LightColorScheme + } + + MaterialTheme( + colorScheme = colorScheme, + typography = Typography, + content = content + ) +} diff --git a/android-remote-verification-tutorial-sample-app/app/src/main/java/com/example/mobileverifiertutorial/ui/theme/Type.kt b/android-remote-verification-tutorial-sample-app/app/src/main/java/com/example/mobileverifiertutorial/ui/theme/Type.kt new file mode 100644 index 0000000..b82681e --- /dev/null +++ b/android-remote-verification-tutorial-sample-app/app/src/main/java/com/example/mobileverifiertutorial/ui/theme/Type.kt @@ -0,0 +1,18 @@ +package com.example.mobileverifiertutorial.ui.theme + +import androidx.compose.material3.Typography +import androidx.compose.ui.text.TextStyle +import androidx.compose.ui.text.font.FontFamily +import androidx.compose.ui.text.font.FontWeight +import androidx.compose.ui.unit.sp + +// Set of Material typography styles to start with +val Typography = Typography( + bodyLarge = TextStyle( + fontFamily = FontFamily.Default, + fontWeight = FontWeight.Normal, + fontSize = 16.sp, + lineHeight = 24.sp, + letterSpacing = 0.5.sp + ) +) diff --git a/android-remote-verification-tutorial-sample-app/app/src/main/res/drawable/ic_launcher_background.xml b/android-remote-verification-tutorial-sample-app/app/src/main/res/drawable/ic_launcher_background.xml new file mode 100644 index 0000000..07d5da9 --- /dev/null +++ b/android-remote-verification-tutorial-sample-app/app/src/main/res/drawable/ic_launcher_background.xml @@ -0,0 +1,170 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/android-remote-verification-tutorial-sample-app/app/src/main/res/drawable/ic_launcher_foreground.xml b/android-remote-verification-tutorial-sample-app/app/src/main/res/drawable/ic_launcher_foreground.xml new file mode 100644 index 0000000..7706ab9 --- /dev/null +++ b/android-remote-verification-tutorial-sample-app/app/src/main/res/drawable/ic_launcher_foreground.xml @@ -0,0 +1,30 @@ + + + + + + + + + + + diff --git a/android-remote-verification-tutorial-sample-app/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml b/android-remote-verification-tutorial-sample-app/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml new file mode 100644 index 0000000..b3e26b4 --- /dev/null +++ b/android-remote-verification-tutorial-sample-app/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml @@ -0,0 +1,6 @@ + + + + + + diff --git a/android-remote-verification-tutorial-sample-app/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml b/android-remote-verification-tutorial-sample-app/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml new file mode 100644 index 0000000..b3e26b4 --- /dev/null +++ b/android-remote-verification-tutorial-sample-app/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml @@ -0,0 +1,6 @@ + + + + + + diff --git a/android-remote-verification-tutorial-sample-app/app/src/main/res/mipmap-hdpi/ic_launcher.webp b/android-remote-verification-tutorial-sample-app/app/src/main/res/mipmap-hdpi/ic_launcher.webp new file mode 100644 index 0000000..c209e78 Binary files /dev/null and b/android-remote-verification-tutorial-sample-app/app/src/main/res/mipmap-hdpi/ic_launcher.webp differ diff --git a/android-remote-verification-tutorial-sample-app/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp b/android-remote-verification-tutorial-sample-app/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp new file mode 100644 index 0000000..b2dfe3d Binary files /dev/null and b/android-remote-verification-tutorial-sample-app/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp differ diff --git a/android-remote-verification-tutorial-sample-app/app/src/main/res/mipmap-mdpi/ic_launcher.webp b/android-remote-verification-tutorial-sample-app/app/src/main/res/mipmap-mdpi/ic_launcher.webp new file mode 100644 index 0000000..4f0f1d6 Binary files /dev/null and b/android-remote-verification-tutorial-sample-app/app/src/main/res/mipmap-mdpi/ic_launcher.webp differ diff --git a/android-remote-verification-tutorial-sample-app/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp b/android-remote-verification-tutorial-sample-app/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp new file mode 100644 index 0000000..62b611d Binary files /dev/null and b/android-remote-verification-tutorial-sample-app/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp differ diff --git a/android-remote-verification-tutorial-sample-app/app/src/main/res/mipmap-xhdpi/ic_launcher.webp b/android-remote-verification-tutorial-sample-app/app/src/main/res/mipmap-xhdpi/ic_launcher.webp new file mode 100644 index 0000000..948a307 Binary files /dev/null and b/android-remote-verification-tutorial-sample-app/app/src/main/res/mipmap-xhdpi/ic_launcher.webp differ diff --git a/android-remote-verification-tutorial-sample-app/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp b/android-remote-verification-tutorial-sample-app/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp new file mode 100644 index 0000000..1b9a695 Binary files /dev/null and b/android-remote-verification-tutorial-sample-app/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp differ diff --git a/android-remote-verification-tutorial-sample-app/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp b/android-remote-verification-tutorial-sample-app/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp new file mode 100644 index 0000000..28d4b77 Binary files /dev/null and b/android-remote-verification-tutorial-sample-app/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp differ diff --git a/android-remote-verification-tutorial-sample-app/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp b/android-remote-verification-tutorial-sample-app/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp new file mode 100644 index 0000000..9287f50 Binary files /dev/null and b/android-remote-verification-tutorial-sample-app/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp differ diff --git a/android-remote-verification-tutorial-sample-app/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp b/android-remote-verification-tutorial-sample-app/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp new file mode 100644 index 0000000..aa7d642 Binary files /dev/null and b/android-remote-verification-tutorial-sample-app/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp differ diff --git a/android-remote-verification-tutorial-sample-app/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp b/android-remote-verification-tutorial-sample-app/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp new file mode 100644 index 0000000..9126ae3 Binary files /dev/null and b/android-remote-verification-tutorial-sample-app/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp differ diff --git a/android-remote-verification-tutorial-sample-app/app/src/main/res/values/colors.xml b/android-remote-verification-tutorial-sample-app/app/src/main/res/values/colors.xml new file mode 100644 index 0000000..ca1931b --- /dev/null +++ b/android-remote-verification-tutorial-sample-app/app/src/main/res/values/colors.xml @@ -0,0 +1,10 @@ + + + #FFBB86FC + #FF6200EE + #FF3700B3 + #FF03DAC5 + #FF018786 + #FF000000 + #FFFFFFFF + diff --git a/android-remote-verification-tutorial-sample-app/app/src/main/res/values/strings.xml b/android-remote-verification-tutorial-sample-app/app/src/main/res/values/strings.xml new file mode 100644 index 0000000..24781b0 --- /dev/null +++ b/android-remote-verification-tutorial-sample-app/app/src/main/res/values/strings.xml @@ -0,0 +1,3 @@ + + Remote Verifier Tutorial + diff --git a/android-remote-verification-tutorial-sample-app/app/src/main/res/values/themes.xml b/android-remote-verification-tutorial-sample-app/app/src/main/res/values/themes.xml new file mode 100644 index 0000000..21a1073 --- /dev/null +++ b/android-remote-verification-tutorial-sample-app/app/src/main/res/values/themes.xml @@ -0,0 +1,5 @@ + + + +