Add biometrics library (#794)

This commit is contained in:
David Perez 2024-01-25 17:56:19 -06:00 committed by Álison Fernandes
parent 26335bf217
commit 555ff1dcd2
4 changed files with 15 additions and 6 deletions

View file

@ -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. - Purpose: Allows access to tools for building inline autofill UI.
- License: Apache 2.0 - 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** - **AndroidX Browser**
- https://developer.android.com/jetpack/androidx/releases/browser - https://developer.android.com/jetpack/androidx/releases/browser
- Purpose: Displays webpages with the user's default browser. - Purpose: Displays webpages with the user's default browser.
- License: Apache 2.0 - License: Apache 2.0
- **AndroidX Camera** - **AndroidX Camera**
- https://developer.android.com/jetpack/androidx/releases/camera - https://developer.android.com/jetpack/androidx/releases/camera
- Purpose: Display and capture images for barcode scanning. - Purpose: Display and capture images for barcode scanning.
- License: Apache 2.0 - License: Apache 2.0
- **AndroidX Lifecycle** - **AndroidX Lifecycle**
- https://developer.android.com/jetpack/androidx/releases/lifecycle - https://developer.android.com/jetpack/androidx/releases/lifecycle
- Purpose: Lifecycle aware components and tooling. - Purpose: Lifecycle aware components and tooling.
- License: Apache 2.0 - License: Apache 2.0
- **AndroidX Security** - **AndroidX Security**
- https://developer.android.com/jetpack/androidx/releases/security - https://developer.android.com/jetpack/androidx/releases/security

View file

@ -151,6 +151,7 @@ dependencies {
implementation(libs.androidx.appcompat) implementation(libs.androidx.appcompat)
implementation(libs.androidx.autofill) implementation(libs.androidx.autofill)
implementation(libs.androidx.browser) implementation(libs.androidx.browser)
implementation(libs.androidx.biometrics)
implementation(libs.androidx.camera.camera2) implementation(libs.androidx.camera.camera2)
implementation(libs.androidx.camera.lifecycle) implementation(libs.androidx.camera.lifecycle)
implementation(libs.androidx.camera.view) implementation(libs.androidx.camera.view)

View file

@ -7,6 +7,7 @@
android:required="false" /> android:required="false" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.USE_BIOMETRIC" />
<uses-permission android:name="android.permission.CAMERA" /> <uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.INTERNET" /> <uses-permission android:name="android.permission.INTERNET" />

View file

@ -10,6 +10,7 @@ minSdk = "28"
accompanist = "0.30.1" accompanist = "0.30.1"
androidGradlePlugin = "8.2.0" androidGradlePlugin = "8.2.0"
androidxActivity = "1.8.2" androidxActivity = "1.8.2"
androidXBiometrics = "1.2.0-alpha05"
androidxBrowser = "1.7.0" androidxBrowser = "1.7.0"
androidxCamera = "1.3.1" androidxCamera = "1.3.1"
androidxComposeBom = "2023.10.01" androidxComposeBom = "2023.10.01"
@ -57,6 +58,7 @@ zxing = "3.5.2"
androidx-activity-compose = { module = "androidx.activity:activity-compose", version.ref = "androidxActivity" } androidx-activity-compose = { module = "androidx.activity:activity-compose", version.ref = "androidxActivity" }
androidx-appcompat = { group = "androidx.appcompat", name = "appcompat", version.ref = "androidXAppCompat" } androidx-appcompat = { group = "androidx.appcompat", name = "appcompat", version.ref = "androidXAppCompat" }
androidx-autofill = { group = "androidx.autofill", name = "autofill", version.ref = "androdixAutofill" } 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-browser = { module = "androidx.browser:browser", version.ref = "androidxBrowser" }
androidx-camera-camera2 = { module = "androidx.camera:camera-camera2", version.ref = "androidxCamera" } androidx-camera-camera2 = { module = "androidx.camera:camera-camera2", version.ref = "androidxCamera" }
androidx-camera-lifecycle = { group = "androidx.camera", name = "camera-lifecycle", version.ref = "androidxCamera" } androidx-camera-lifecycle = { group = "androidx.camera", name = "camera-lifecycle", version.ref = "androidxCamera" }