element-android: F-Droid can't build - org.maplibre.gl:android-sdk pulls in non-FOSS Google Services

Steps to reproduce

Try to build for fdroid… gradle dependencies for fdroidRelease* says:

+--- org.maplibre.gl:android-sdk:9.5.2
|    +--- org.maplibre.gl:android-sdk-geojson:5.9.0
|    |    \--- com.google.code.gson:gson:2.8.6
|    +--- com.mapbox.mapboxsdk:mapbox-android-gestures:0.7.0
|    |    +--- androidx.core:core:1.0.0 -> 1.7.0 (*)
|    |    \--- androidx.annotation:annotation:1.0.0 -> 1.3.0
|    +--- org.maplibre.gl:android-sdk-turf:5.9.0
|    |    \--- org.maplibre.gl:android-sdk-geojson:5.9.0 (*)
|    +--- androidx.annotation:annotation:1.0.0 -> 1.3.0
|    +--- androidx.fragment:fragment:1.0.0 -> 1.4.1 (*)
|    +--- com.squareup.okhttp3:okhttp:3.12.3 -> 4.9.3 (*)
|    \--- com.google.android.gms:play-services-location:16.0.0

Since: https://github.com/vector-im/element-android/commit/824e713c51c5aa5b89a85ed5e4c105f5e76a4ba8

Outcome

Can’t build from FOSS deps

Your phone model

No response

Operating system version

No response

Application version and app store

No response

Homeserver

No response

Will you send logs?

No

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Reactions: 2
  • Comments: 15 (7 by maintainers)

Most upvoted comments

Later Edit but what does OOI mean? 😃

Not sure why you’ve linked to JitsiMeet… this issue is about gms brought by maplibre…as all my posts above show

😕

if the dependency exclusion doesn’t work we may need to exclude the feature from the fdroid variant

It will have to be checked, but according to the description of https://github.com/deltachat/deltachat-android/pull/2303 it should work fine 🤞

Element 1.13.18 or later (first one published by F-Droid since it skipped 1.13.16/17)

And @SpiritCroc Schildi Chat 1.4.4.sc50 or later