summaryrefslogtreecommitdiffhomepage
path: root/android
diff options
context:
space:
mode:
authorJonatan Rhodin <jonatan.rhodin@mullvad.net>2025-05-05 09:46:29 +0200
committerJonatan Rhodin <jonatan.rhodin@mullvad.net>2025-05-05 09:46:29 +0200
commit483ef76ad1f6ffcb88924037366b153f380b6deb (patch)
tree36cbebb1d7e0116d63b71eea2e2156a8086dbda9 /android
parent7b428955d67dca0d9d964906ccf25a1d4604d0b3 (diff)
downloadmullvadvpn-483ef76ad1f6ffcb88924037366b153f380b6deb.tar.xz
mullvadvpn-483ef76ad1f6ffcb88924037366b153f380b6deb.zip
Exclude biometric dependency to avoid permission issue
Diffstat (limited to 'android')
-rw-r--r--android/app/build.gradle.kts8
1 files changed, 7 insertions, 1 deletions
diff --git a/android/app/build.gradle.kts b/android/app/build.gradle.kts
index 881e62b219..a88b9ddcb8 100644
--- a/android/app/build.gradle.kts
+++ b/android/app/build.gradle.kts
@@ -394,7 +394,13 @@ dependencies {
implementation(libs.androidx.activity.compose)
implementation(libs.androidx.datastore)
implementation(libs.androidx.coresplashscreen)
- implementation(libs.androidx.credentials)
+ implementation(libs.androidx.credentials) {
+ // This dependency adds a lot of unused permissions to the app.
+ // It is not used so let's exclude it.
+ // Unfortunately, this is not possible to do using libs.version.toml
+ // https://github.com/gradle/gradle/issues/26367#issuecomment-2120830998
+ exclude("androidx.biometric", "biometric")
+ }
implementation(libs.androidx.ktx)
implementation(libs.androidx.lifecycle.runtime)
implementation(libs.androidx.lifecycle.viewmodel)