How can we remove "Start Screen Sharing" button?

I have integrated jitsi SDK in my app and I want to remove the screen sharing button for participants. To remove the screen sharing one feature flag [ .setFeatureFlag(“android.screensharing.enabled”,false)] is given but that is not working in android. Is there any solution to remove/disable screen share button ?

build.gradle(project)

allprojects {
    repositories {
        google()
        jcenter()
        maven {
            url "https://github.com/jitsi/jitsi-maven-repository/raw/master/releases"
        }
    }
}

build.gradle(app)

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

My conference option builder function

fun getConferenceOption() = JitsiMeetConferenceOptions.Builder()
        .setServerURL(URL(JITSI_URL))
        .setRoom(roomName)
        .setToken(token(roomName ?: Strings.BLANK))
        .setAudioMuted(true)
        .setVideoMuted(true)
        .setFeatureFlag("add-people.enabled", false)
        .setFeatureFlag("calendar.enabled", false)
        .setFeatureFlag("close-captions.enabled", false)
        .setFeatureFlag("chat.enabled", false)
        .setFeatureFlag("invite.enabled", false)
        .setFeatureFlag("resolution", 480)
        .setFeatureFlag("live-streaming.enabled", false)
        .setFeatureFlag("meeting-name.enabled", false)
        .setFeatureFlag("call-integration.enabled", false)
        .setFeatureFlag("meeting-password.enabled", false)
        .setFeatureFlag("recording.enabled", false)
        .setFeatureFlag("pip.enabled", false)
        .setFeatureFlag("filmstrip.enabled", false)
        .setFeatureFlag("video-mute.enabled", false)
        .setFeatureFlag("audio-mute.enabled", false)
        .setFeatureFlag("video-share.enabled", false)
        .setFeatureFlag("tile-view.enabled", false)
        .setFeatureFlag("security-options.enabled", false)
        .setFeatureFlag("notifications.enabled",false)
        .setFeatureFlag("android.screensharing.enabled",false)
        .build()

Couldn’t find the feature flag android.screensharing.enabled in Feature flags · Jitsi Meet Handbook

There is only ios.

You can find all flags here https://github.com/jitsi/jitsi-meet/blob/master/react/features/base/flags/constants.js

1 Like

What version SDK are you using?

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

Try the latest SDK.

“sdk:3.8.0” is this not latest jitsi SDK ? @Freddie

No, I know there’s 3.8.1 and there may even be a more recent version.

3.8.1 is for ios only. I am looking for android SDK.

Any update here ?