Custom Jitsi-meet-sdk

I want to build my own jitsi-meet-SDK in react native to use in native android.
i followed these steps from the handbook guide Build and use your own SDK artifacts/binaries but it shows me command not found after running this command ./android/scripts/release-sdk.sh /tmp/repo
can you guide me with steps on how to build?

Can you paste the output you get?

here is the output i have got after running the command
./android/scripts/release-sdk.sh: line 12: jq: command not found

this is at line 12
RN_VERSION=$(jq -r ‘.version’ ${THIS_DIR}/…/…/node_modules/react-native/package.json)

Install the jq package. If this is a Debian based distro:

apt-get install jq

I want for MAC not Debian distro

You should install the package which contains jq command. No idea how it is doing on MAC

after installing jq package it gives

realpath: /tmp/repo: No such file or directory

You need to create the target reprository beforehand with mkdir /tmp/repo

inside android/scripts folder??

Doesn’t matter, since you are using an absolute path.

i get this after creating the dir /tmp/repo
User-Mac-mini Jitsi % ./android/scripts/release-sdk.sh /tmp/repo
realpath: /tmp/repo: No such file or directory

Looks like you haven’t actually created it.

i have created already like this
Screenshot 2023-02-01 at 10.58.18 AM

Then the path is tmp/repo not /tmp/repo

Screenshot 2023-02-03 at 12.06.42 PM
this is what i get after running tmp/repo

Run the following before this command

mkdir -p tmp/repo

after running the above command i get
**Jitsi % ./android/scripts/release-sdk.sh tmp/repo **
Releasing Jitsi Meet SDK 99.0.0
Using file:/Users/horkho/Desktop/Jitsi/tmp/repo as the Maven repo
Pushing React Native 0.68.5 to the Maven repo
~/Desktop/Jitsi/node_modules/react-native/android/com/facebook/react/react-native/0.68.5 ~/Desktop/Jitsi
./android/scripts/release-sdk.sh: line 59: mvn: command not found
here line 59:
Screenshot 2023-02-03 at 5.04.07 PM

what does this Build and use your own SDK artifacts/binaries consist of, whether it is in .jar file format or it will be in some repo format ??

You have to install the package that provides mvn

You need Maven in order to publish the jars to the local repo.

after installing the maven and run the command i get this


any issues do you see in this build ,because I didnt find any SDK related files in that repo folder.