jitsi / jitsi-meet-sdk-samples

Jitsi Meet mobile SDK examples (Android, iOS and React Native)
Apache License 2.0
277 stars 240 forks source link

Custom SDK for jitsi android #56

Closed developerashish01 closed 3 years ago

developerashish01 commented 4 years ago

I have been trying from 2 days, i did not find proper native sdk for jisti android app, https://github.com/jitsi/jitsi-meet/tree/master/android It has some react native code which is throwing erros. Please help

ccs1428 commented 4 years ago

Application main components are built in React Native. Can you please share the error details.

developerashish01 commented 4 years ago

Caused by: groovy.lang.GroovyRuntimeException: Ambiguous method overloading for method java.io.File#.

ccs1428 commented 4 years ago

Can you please confirm which gradle version you are using.

distributionUrl=https://services.gradle.org/distributions/gradle-4.10.2-all.zip and dependency

classpath 'com.android.tools.build:gradle:3.3.2' in project build.gradle.

Please change this and build.

sunilkumarjena21 commented 3 years ago

Hi @saghul , Thanks you for the awesome SDK. I followed the guide to create my own SDK. https://jitsi.github.io/handbook/docs/dev-guide/dev-guide-android-sdk

Just one small query. Can I rename the below dependency as my own library name.

implementation ('org.jitsi.react:jitsi-meet-sdk:+') { transitive = true }

Wanted to update it like this:- implementation ('org.example.react:example-meet-sdk:+') { transitive = true }

Would be great if you can let us know the steps for the same. Thanks in advance!

saghul commented 3 years ago

You'd need to publish the assets in your own Maven repo, then you could call them however you want by editing the sdk's build.gradle.

sunilkumarjena21 commented 3 years ago

Hi @saghul ,

Thanks for your awesome support on this community.

I have followed the step build my own SDK as mentioned in the below link.

// Jitsi Meet implementation('org.jitsi.react:jitsi-meet-sdk:2.11.0')

Trying to change jitsi-meet-sdk to connect-lane-sdk

Step followed:- Step 1:-Changed the below lines in build.gradle of SDK as per below image. image

Step -2: npm i Step -3:./android/scripts/release-sdk.sh /tmp/repo Step-4:-Uploaded in my repo:https://github.com/sunilkumarjena21/connectlane-android-sdk Step 5:- Used in my android project

Got the below error as mentioned in below screenshot. sdk-img

You help will be much appreciated on this. Thanks in advance!