Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

About Flutter SDK “configOverrides.toolbarButtons” #228

Open
MoLeft opened this issue Mar 24, 2024 · 3 comments
Open

About Flutter SDK “configOverrides.toolbarButtons” #228

MoLeft opened this issue Mar 24, 2024 · 3 comments

Comments

@MoLeft
Copy link

MoLeft commented Mar 24, 2024

When I'm using Flutter's SDK, use the "configOverrides.toolbarButtons", it didn't work on android app.
this is my code:

var options = JitsiMeetConferenceOptions(
      serverURL: 'https://meet.sunnypro.cc',
      room: roomId,
      token: jwtToken,
      configOverrides: {
        "startWithAudioMuted": false,
        "startWithVideoMuted": false,
        "desktopSharingFrameRate": {
          "min": 60,
          "max": 144
        },
        "toolbarButtons": ["chat"],  // it didn't work
      },
      featureFlags: {
        FeatureFlags.unsafeRoomWarningEnabled : false,
        FeatureFlags.iosScreenSharingEnabled: true,
        FeatureFlags.androidScreenSharingEnabled: true,
      },
    );

I've tried using "{...}" or "[...]", it won't work, and when i use the "{...}" exaple for "{'chat', 'microphone'}", When joining a meeting with join(), nothing happens

@saghul
Copy link
Member

saghul commented Mar 24, 2024

That config option is not implemented for mobile, it's just for web.

@MoLeft
Copy link
Author

MoLeft commented Mar 24, 2024

That config option is not implemented for mobile, it's just for web.

If I want to set the toolbar button on Android or iOS, what should I do?

@saghul
Copy link
Member

saghul commented Mar 24, 2024

You can't do that right now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants