jitsi / jitsi-meet-flutter-sdk

Jitsi Meet plugin for Flutter
Apache License 2.0
43 stars 32 forks source link

How to HIDE "Polls", "Room Name" and "Conference" Fields #85

Open chegmarco1989 opened 1 month ago

chegmarco1989 commented 1 month ago

Hello.

First of all, here is what I did:

Future<void> _startJitsiMeeting(String roomName) async {
  var jitsiMeet = JitsiMeet();
  var options = JitsiMeetConferenceOptions(
    room: roomName, 
    serverURL: Uri.parse("https://meet.domain.com"), 
    configOverrides: {
      "startWithAudioMuted": false,
      "startWithVideoMuted": false,
    },
    featureFlags: {
      FeatureFlags.chatEnabled: true, 
      FeatureFlags.preJoinPageEnabled: false,
      // FeatureFlags.callIntegrationEnabled: true, 
    }
  );

  await jitsiMeet.join(options);
}

But I want want I don't know how to:

1 - disable (hide) "Polls" Feature when enabling "Chat" ?

2 - disable (hide) this "Room Name" field on the Home Page that I saw on JitSI itself Mobile:

Room Name

???

3 - disable (hide) this "Conference" field also on Settings Page:

Conference

???

PLEASE, HELP ME TO HIDE ALL OF THEM IN MY NEW Flutter integration.

Calinteodor commented 1 month ago
  1. You can override config by setting disablePolls: true;
  2. Room name input cannot be disabled or hidden. If you want, you can override config by welcomePage.disabled: true, this hides the whole welcome page, and create your own page.
chegmarco1989 commented 1 month ago

Thanks @Calinteodor for your answer.

But you didn't get me answer for the point 3:

3 - disable (hide) this "Conference" field also on Settings Page:

Conference

???

Awaiting your answer.

Calinteodor commented 1 month ago

That is part of the welcome page and cannot be disabled or hidden. So the answer for 2 applies for 3.

chegmarco1989 commented 1 month ago

All right. Thanks