-
Notifications
You must be signed in to change notification settings - Fork 6.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Jitsi-meet-sdk without google play service dependencies #4106
Comments
I also just confirmed that riot-android built "normally" (using the jitsi maven repo) does include a whole lot of com.google.gms.* classes in the final apk :-( Edit: that is with the |
Hi @Bubu , thanks for raising this. We also want to eventually push Jitsi Meet to F-Droid, so reporting all these issues helps, please keep them coming! Now, this dependency comes from our use of https://github.com/react-native-community/react-native-google-signin Which we use to sign in users for YouTube streaming. I'd be open to a patch which skips this package: jitsi-meet/android/sdk/src/main/java/org/jitsi/meet/sdk/ReactInstanceManagerHolder.java Line 136 in c1f8a35
While we have no time to work on this at the moment, I will help anyone who wants to get started and write a patch. |
@Bubu Hi there. I found some time today and started working on this. Any chance you can give this branch a go? #4155 You'll need to build the SDK yourself with the |
Awesome, I will try that! |
I tried following the guide here, building my own libre sdk version: https://github.com/jitsi/jitsi-meet/tree/master/android#build-and-use-your-own-sdk-artifactsbinaries Somehow a dependency is not pushed to the local maven repo?
|
Are you using the release-sdk.sh script for publishing dependencies to a local maven repo? Otherwise no, we haven’t pushed a new SDK version yet, and this dependency is new. |
yes. edit: That particular reacti-native subproject doesn;t seem to have a publish gradle task. Maybe that's the problem? Possible the same problem as #4225? |
Ah, i must have missed that. Will fix. |
@saghul Thanks for your quick fix! This seems to get me further, but the next problem I'm struggling with is that
|
Scratch that, I was confused. Our API level is 21, so that's correct. The library reads it from the project, and I guess you see it complain there first because it's a alphabetically the first or something. See: https://github.com/jitsi/jitsi-meet/blob/master/android/build.gradle#L152 we moved to API 21 almost a year ago, as supporting Android 4 devices is just too hard at this point. |
Alright, I'll have to dig in later why this error is now thrown with my build then. |
@saghul Is there a milestone for the next android-sdk tag ? I think some projects are waiting for this to ship their releases without the GMS dependencies. The last one seems to be: https://github.com/jitsi/jitsi-meet/releases/tag/android-sdk-2.1.0 |
@pihug12 I was hoping to make a release this week but it will slip onto next week. |
@saghul any chance of a new release? :) |
As a matter of fact, yes :-) We just released SDK 2.2.0! Release notes here: https://github.com/jitsi/jitsi-meet-release-notes/blob/master/CHANGELOG-MOBILE-SDKS.md#220-2019-06-28 I'll close this then. If there is anything we missed please open a new issue and we'll take care of it! |
Any chance to host a Else more and more maven repos pop-up for each project that wants to use the SDK and be fully open-source, not to mention failing to update it timely and so on. Ref: https://github.com/RocketChat/jitsi-maven-repository |
Is it possible for jitsi to use API 19? |
@licaon-kter I don't know. We are already spreading ourselves pretty thin. |
@richardmartus No, sorry. |
As mentioned here I'm trying to build riot-android without using https://github.com/jitsi/jitsi-maven-repository.
I'm currently blocked by a runtime crash
java.lang.NoClassDefFoundError: Failed resolution of: Lcom/google/android/gms/common/SignInButton;
which I think the react-native-google-signin module tries to bring in.As this is (afaik) a google proprietary library we can't include it in any software built for f-droid release.
Is there a way to not require any proprietary libraries for jitsi-meet? Or am I completely missing something here?
CC @saghul
The text was updated successfully, but these errors were encountered: