Electron SDK: How to Customize invitation dialog

Description

I’m using the latest sdk form https://github.com/zoom/zoom-sdk-electron, While I need to customize the invitation dialog. I’ve done with the following:

  const inviteCustomUI = function(handleObj) {
  console.log("MeetingUI_SetInviteButtonClickedCB ----------");

  const inviteWindow = new BrowserWindow({
    width: 700, height: 400,
    webPreferences: {
      nodeIntegration: true
    }
  });
  inviteWindow.loadURL('file://' + __dirname + '/pages/login.html');
  handleObj.bHandled = true;
}
zoomuicontroller.MeetingUI_SetInviteButtonClickedCB(inviteCustomUI);

BUT, the default invitation dialog still pops up.

Thanks.

@Carson_Chen Could you help with this?

Hi @yuyo217,

Thanks for the post. If you would like to disable the default invitation dialog, you may call the MeetingConfig_DisableToolbarInviteButtonClickOriginAction before start/join a meeting.

Hope this helps. Thanks!