From 555ff1dcd28a81af1ca2bdf40abf4572c95ebdbb Mon Sep 17 00:00:00 2001 From: David Perez Date: Thu, 25 Jan 2024 17:56:19 -0600 Subject: [PATCH] Add biometrics library (#794) --- README.md | 17 +++++++++++------ app/build.gradle.kts | 1 + app/src/main/AndroidManifest.xml | 1 + gradle/libs.versions.toml | 2 ++ 4 files changed, 15 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 34788cb403..44b39fb804 100644 --- a/README.md +++ b/README.md @@ -72,20 +72,25 @@ The following is a list of all third-party dependencies included as part of the - Purpose: Allows access to tools for building inline autofill UI. - License: Apache 2.0 +- **AndroidX Biometrics** + - https://developer.android.com/jetpack/androidx/releases/biometric + - Purpose: Authenticate with biometrics or device credentials. + - License: Apache 2.0 + - **AndroidX Browser** - https://developer.android.com/jetpack/androidx/releases/browser - Purpose: Displays webpages with the user's default browser. - License: Apache 2.0 - **AndroidX Camera** - - https://developer.android.com/jetpack/androidx/releases/camera - - Purpose: Display and capture images for barcode scanning. - - License: Apache 2.0 + - https://developer.android.com/jetpack/androidx/releases/camera + - Purpose: Display and capture images for barcode scanning. + - License: Apache 2.0 - **AndroidX Lifecycle** - - https://developer.android.com/jetpack/androidx/releases/lifecycle - - Purpose: Lifecycle aware components and tooling. - - License: Apache 2.0 + - https://developer.android.com/jetpack/androidx/releases/lifecycle + - Purpose: Lifecycle aware components and tooling. + - License: Apache 2.0 - **AndroidX Security** - https://developer.android.com/jetpack/androidx/releases/security diff --git a/app/build.gradle.kts b/app/build.gradle.kts index bd22a2bf0d..65f1460940 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -151,6 +151,7 @@ dependencies { implementation(libs.androidx.appcompat) implementation(libs.androidx.autofill) implementation(libs.androidx.browser) + implementation(libs.androidx.biometrics) implementation(libs.androidx.camera.camera2) implementation(libs.androidx.camera.lifecycle) implementation(libs.androidx.camera.view) diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 15cf32e58d..25c50b2c61 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -7,6 +7,7 @@ android:required="false" /> + diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index b94458ec90..d737532f44 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -10,6 +10,7 @@ minSdk = "28" accompanist = "0.30.1" androidGradlePlugin = "8.2.0" androidxActivity = "1.8.2" +androidXBiometrics = "1.2.0-alpha05" androidxBrowser = "1.7.0" androidxCamera = "1.3.1" androidxComposeBom = "2023.10.01" @@ -57,6 +58,7 @@ zxing = "3.5.2" androidx-activity-compose = { module = "androidx.activity:activity-compose", version.ref = "androidxActivity" } androidx-appcompat = { group = "androidx.appcompat", name = "appcompat", version.ref = "androidXAppCompat" } androidx-autofill = { group = "androidx.autofill", name = "autofill", version.ref = "androdixAutofill" } +androidx-biometrics = { group = "androidx.biometric", name = "biometric", version.ref = "androidXBiometrics" } androidx-browser = { module = "androidx.browser:browser", version.ref = "androidxBrowser" } androidx-camera-camera2 = { module = "androidx.camera:camera-camera2", version.ref = "androidxCamera" } androidx-camera-lifecycle = { group = "androidx.camera", name = "camera-lifecycle", version.ref = "androidxCamera" }