From ddd8ee16ee00717cb08725a57f400f229beb6644 Mon Sep 17 00:00:00 2001 From: muelli Date: Tue, 16 Nov 2021 16:11:46 +0100 Subject: [PATCH] Android: Remove non-OSS dependencies (#5735) This disables certain features for the camera, but it allegedly affects the test suite only. This will hopefully remove non-free dependencies so that the app can be shipped by F-Droid: https://gitlab.com/fdroid/rfp/-/issues/434 --- packages/app-mobile/android/app/build.gradle | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/packages/app-mobile/android/app/build.gradle b/packages/app-mobile/android/app/build.gradle index ebdc28dd6b..b2f9c8b064 100644 --- a/packages/app-mobile/android/app/build.gradle +++ b/packages/app-mobile/android/app/build.gradle @@ -218,6 +218,12 @@ android { } dependencies { + // This removes proprietary bits to enable inclusion in F-Droid + // https://gitlab.com/fdroid/rfp/-/issues/434#note_443458711 + implementation (project(':react-native-camera')){ + exclude group: 'com.google.android.gms', module: 'play-services-vision' + } + implementation fileTree(dir: "libs", include: ["*.jar"]) //noinspection GradleDynamicVersion implementation "com.facebook.react:react-native:+" // From node_modules