react-native-jitsi-meet icon indicating copy to clipboard operation
react-native-jitsi-meet copied to clipboard

How to remove live-streaming and other extra icon/options from meeting page in ANDROID ?

Open kaustavhazra opened this issue 4 years ago • 6 comments

I have try to disable These but not working. .setFeatureFlag("live-streaming.enabled",false) .setFeatureFlag("meeting-password.enabled",false) .setFeatureFlag("recording.enabled",false)

"dependencies": { "react": "16.11.0", "react-native": "0.62.2", "react-native-gesture-handler": "^1.5.2", "react-native-jitsi-meet": "^2.1.1", "react-native-screens": "^2.4.0", "react-navigation": "^4.0.10", "react-navigation-stack": "^1.10.3" },

How to solve the problem?

kaustavhazra avatar Jan 27 '21 17:01 kaustavhazra

I had this problem. JitsiSDK version 2.6 and even higher does not accept this flag and I had to build my own version of the SDK.

Sylordster avatar Feb 05 '21 12:02 Sylordster

@Sylordster for build my own version of SDk I'm following this site https://jitsi.github.io/handbook/docs/dev-guide/dev-guide-android-sdk, But I can't understand, can you please please guide me step by step what i have to do, Please please, I'm requesting you please writehere the all step and details please

kaustavhazra avatar Feb 05 '21 15:02 kaustavhazra

@kaustavhazra

  1. Clone the latest master branch from https://github.com/jitsi/jitsi-meet.git
  2. run react-native run-android followed by npm install
  3. do the required changes in their code
  4. to generate sdk run ./android/scripts/release-sdk.sh /tmp/repo in project folder

deepakverma4 avatar Feb 06 '21 12:02 deepakverma4

It's because those featureFlag are not available with JitsiSDK version 2.6. With version 2.8.2 and higher it might be ok

How to do it :

in the gradle file (react-native-jitsi-meet/android/build.gradle) :

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

vijayakm avatar Apr 03 '21 17:04 vijayakm

@vijayakm but after update 2.9.0 in nodeModule/react-native-jitsi-meet/android/build.gradle file app is crashed when jitsi run. ERROR: Execution failed for task ':app:mergeDexRelease'. also added multiDexEnabled true

But not solved. getting same error.

kaustavhazra avatar Apr 22 '21 16:04 kaustavhazra

@deepakverma4 do you know to mention local custom build SDK instead of remote maven repo or cocoapods SDK in this mobile app.

gigabyteservice avatar Apr 04 '22 23:04 gigabyteservice