1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-11-24 08:12:24 +02:00

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
This commit is contained in:
muelli 2021-11-16 16:11:46 +01:00 committed by GitHub
parent d4c3b51046
commit ddd8ee16ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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