flutter_zoom_plugin icon indicating copy to clipboard operation
flutter_zoom_plugin copied to clipboard

Not able to hide meeting Id and Passcode

Open ayu8899 opened this issue 3 years ago • 0 comments

According to this: https://devforum.zoom.us/t/want-to-hide-meeting-id-meeting-password-meeting-link-participant-id-from-main-screen-in-android-sdk/25425

The following code have been added in ZoomView , however it doesn't take affect and the meeting view still showing meeting ID and passcode:

Anyone can advise?

opts.meeting_views_options = MeetingViewsOptions.NO_TEXT_MEETING_ID + MeetingViewsOptions.NO_TEXT_PASSWORD;//MeetingViewsOptions.NO_TEXT_PASSWORD;****

ZoomView.java: private void startMeeting(MethodCall methodCall, MethodChannel.Result result) {

    Map<String, String> options = methodCall.arguments();

    ZoomSDK zoomSDK = ZoomSDK.getInstance();

    if(!zoomSDK.isInitialized()) {
        System.out.println("Not initialized!!!!!!");
        result.success(false);
        return;
    }

    final MeetingService meetingService = zoomSDK.getMeetingService();

    StartMeetingOptions opts = new StartMeetingOptions();
    opts.no_invite = parseBoolean(options, "disableInvite", false);
    opts.no_share = parseBoolean(options, "disableShare", false);
    opts.no_driving_mode = parseBoolean(options, "disableDrive", false);
    opts.no_dial_in_via_phone = parseBoolean(options, "disableDialIn", false);
    opts.no_disconnect_audio = parseBoolean(options, "noDisconnectAudio", false);
    opts.no_audio = parseBoolean(options, "noAudio", false);
    **opts.meeting_views_options = MeetingViewsOptions.NO_TEXT_MEETING_ID +
            MeetingViewsOptions.NO_TEXT_PASSWORD;//MeetingViewsOptions.NO_TEXT_PASSWORD;****

    StartMeetingParamsWithoutLogin params = new StartMeetingParamsWithoutLogin();

	params.userId = options.get("userId");
    params.displayName = options.get("displayName");
    params.meetingNo = options.get("meetingId");
	params.userType = MeetingService.USER_TYPE_API_USER;
	params.zoomToken = options.get("zoomToken");
	params.zoomAccessToken = options.get("zoomAccessToken");
	
    meetingService.startMeetingWithParams(context, params, opts);

    result.success(true);
}

Expected Behavior

Expect the passcode or meeting id will be hide from the meeting view

Actual Behavior

The meeting ID and passcode still showing

Steps to Reproduce

1.added this code in ZoomView.java and run to start the meeting : opts.meeting_views_options = MeetingViewsOptions.NO_TEXT_MEETING_ID + MeetingViewsOptions.NO_TEXT_PASSWORD;

ayu8899 avatar Dec 24 '21 10:12 ayu8899