Skip to content
This repository has been archived by the owner on Jan 24, 2023. It is now read-only.

How to diable Meeting registration on joining meeting #58

Open
JAGANPS opened this issue Jan 14, 2021 · 4 comments
Open

How to diable Meeting registration on joining meeting #58

JAGANPS opened this issue Jan 14, 2021 · 4 comments

Comments

@JAGANPS
Copy link

JAGANPS commented Jan 14, 2021

@kevinbayes @gfiury @DzungTNgo @ShimiBaliti

Hello i am using the plugin and its works as gem to me but i have problem i am facing the issue when joining the meeting i get a pop up for registration which i don't want user to get registered ,how can i handle this background please suggest me how to implement this i am stuck at this .

Thanks in advance
Jagan PS

WhatsApp Image 2021-01-12 at 10 29 15 AM
i have attached the screen shot for your references please help me to bypass this problem

@gfiury
Copy link
Contributor

gfiury commented Jan 14, 2021

Hey @JAGANPS, you shouldn't be facing this problem

this.meetingOptions = new ZoomMeetingOptions(
        userId: 'example',
        meetingId: meetingId,
        meetingPassword: meetingPassword,
        disableDialIn: "true",
        disableDrive: "true",
        disableInvite: "true",
        disableShare: "true",
        noAudio: "false",
        noDisconnectAudio: "false"
    );

The userId should be a valid Zoom User Id

The Zoom API to create an user
The Zoom API to get an user

Let me know if you are already using a valid Id

@JAGANPS
Copy link
Author

JAGANPS commented Jan 18, 2021

@gfiury @kevinbayes @DzungTNgo @ShimiBaliti
hi when I went through the documentation of zoom I came over the function
void setRegisterWebinarInfo(java.lang.String name,
java.lang.String email,
boolean cancel)
I am able to set the display name by passing userid but after it I get this function how to handle this at backend
how to integrate this in my code.

@gfiury
Copy link
Contributor

gfiury commented Jan 18, 2021

@JAGANPS

You can't call that from Flutter because that is java code java.lang.String email. You need to extend the class ZoomView.java

Here is the Zoom Doc: InMeetingServiceListener

The changes will look like this:


import us.zoom.sdk.InMeetingServiceListener;

public class ZoomView  implements ..... InMeetingServiceListener {
...
...
...
     @override
     public void onJoinWebinarNeedUserNameAndEmail(InMeetingEventHandler eventHandler) {
            eventHandler.setRegisterWebinarInfo(this.username, this.email, false);
     }

}

The tricky part here is how are you gonna pass the username and the email. This is not a trivial change.

@JAGANPS JAGANPS closed this as completed Jan 18, 2021
@JAGANPS JAGANPS reopened this Jan 18, 2021
@JAGANPS
Copy link
Author

JAGANPS commented Jan 18, 2021

@kevinbayes @DzungTNgo @ShimiBaliti @gfiury

error: method does not override or implement a method from a supertype
@OverRide
^
1 error
When I remove the @OverRide function still I get the webinar registration
I still get the same webinar registration which I am not able to pass even when I hard code it I am getting the same issue
WhatsApp Image 2021-01-12 at 10 29 15 AM

public void onJoinWebinarNeedUserNameAndEmail(InMeetingEventHandler eventHandler) {
eventHandler.setRegisterWebinarInfo("test",""[email protected]", false);
}

I get the same issues please help me to solve this

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

No branches or pull requests

2 participants