Skip to content
This repository has been archived by the owner on Apr 12, 2022. It is now read-only.

Flavour without jitsi #353

Open
Bubu opened this issue Sep 8, 2018 · 6 comments
Open

Flavour without jitsi #353

Bubu opened this issue Sep 8, 2018 · 6 comments

Comments

@Bubu
Copy link

Bubu commented Sep 8, 2018

Would you accept a build flavour of this sdk that removes the jitsi dependency? I'm currently maintaining a fork for the f-droid build of miniVector here: https://github.com/Bubu/matrix-android-sdk/tree/no_webrtc

It's only a tiny amount of changes that's necessary and hopefully easy to wrap in a flavour. I hope this would significantly reduce the maintenance load for keeping miniVector updated for f-droid.

@bmarty
Copy link
Contributor

bmarty commented Sep 12, 2018

Yes. FYI, some work has been done for another Matrix client here: tchapgouv/tchap-android-legacy@f366b48

@Bubu
Copy link
Author

Bubu commented Sep 12, 2018

Interesting. But this is riot code, right? This has been done in https://github.com/LiMium/mini-vector-android as well. This issue was about making it optional here at sdk level. This 1) will save some more space in the final apk and 2) will make building from source (including dependencies) much easier :-).

@bmarty
Copy link
Contributor

bmarty commented Sep 12, 2018

Yes, it's a fork from Riot. I understood the issue ;-)
2 build flavours will generate 2 aar lib.
I'm ok to accept a PR with this and then I will update our Jenkins job for him to build both flavors

@Bubu
Copy link
Author

Bubu commented Sep 12, 2018

Cool! Will look into it after vacation :)

@hrj
Copy link

hrj commented May 11, 2019

@Bubu I think this is what is now causing miniVector to bloat up in v0.9.1. The flavour without jitsi would be mighty useful.

@hrj
Copy link

hrj commented May 11, 2019

@bmarty Would you consider a more drastic suggestion: move the jitsi dependency out of matrix-android-sdk completely? The webrtc part is anyway not part of the matrix protocol. And there are just two classes in the sdk that handle the session management. Perhaps they could be rolled into a separate library, or moved to the client project itself.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants