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

Can't user customToolbarButtons via setConfigOverride (Android) #14725

Open
iospro opened this issue May 8, 2024 · 1 comment
Open

Can't user customToolbarButtons via setConfigOverride (Android) #14725

iospro opened this issue May 8, 2024 · 1 comment

Comments

@iospro
Copy link
Contributor

iospro commented May 8, 2024

According to documentation 9.2.2 SDK build supports customToolbarButtons.

It works for iOS, but in Android code snipped fails.

JitsiMeetConferenceOptions options = new JitsiMeetConferenceOptions.Builder()
    .setServerURL(new URL("https://meet.jit.si"))
    .setRoom("test123")
    .setAudioMuted(false)
    .setVideoMuted(false)
    .setAudioOnly(false)
    .setWelcomePageEnabled(false)
    .setConfigOverride("requireDisplayName", true)
    .setConfigOverride("customToolbarButtons", [
        {
            icon: "https://w7.pngwing.com/pngs/987/537/png-transparent-download-downloading-save-basic-user-interface-icon-thumbnail.png",
            id: "btn1",
            text: "Button one"
        }, {
            icon: "https://w7.pngwing.com/pngs/987/537/png-transparent-download-downloading-save-basic-user-interface-icon-thumbnail.png",
            id: "btn2",
            text: "Button two"
        }])
    .build();

It seems that we have no method to set List of dictionaries.

Screenshot 2024-05-08 at 06 51 46

P.S.
Also for both platforms it is strange to see default custom button "invite" at the menu top.
In iOS it is possible to hide it by settings empty array but there is a visual remnant of it at the empty top.

@saghul
Copy link
Member

saghul commented May 8, 2024

Ping @Calinteodor

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