react-native-jitsi-meet
react-native-jitsi-meet copied to clipboard
How to remove live-streaming and other extra icon/options from meeting page in ANDROID ?
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?
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 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
- Clone the latest master branch from https://github.com/jitsi/jitsi-meet.git
- run
react-native run-androidfollowed bynpm install - do the required changes in their code
- to generate sdk run
./android/scripts/release-sdk.sh /tmp/repoin project folder
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 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.
@deepakverma4 do you know to mention local custom build SDK instead of remote maven repo or cocoapods SDK in this mobile app.