Zoom SDK v4.4.55968.0904
Tried on iOS versions 12.1 & 13.1.2
I am able to join meetings without a password in Android but not iOS. According to the docs it should be possible, but when I try the methods below I get a dialog prompting for a password (see screenshot) and it won’t let me move forward unless I put something in, even if I pass an empty string to my enterMeeting method.
Also, when I add the [meetingSettings setEnableCustomMeeting:true] line, the dialog no longer shows but the onJoinMeetingInfo method is called with the MobileRTCJoinMeetingInfo value MobileRTCJoinMeetingInfo_NeedPassword.
How do I join a meeting without requiring a password on iOS? Thanks!
- (void)initSDK {
@try {
[MobileRTC initializeWithDomain:_webDomain enableLog:YES];
_mobileRTC = MobileRTC.sharedRTC;
[_mobileRTC setMobileRTCDomain:_webDomain];
MobileRTCAuthService * authService = [_mobileRTC getAuthService];
NSLog(@"MobileRTC Version: %@", [[MobileRTC sharedRTC] mobileRTCVersion]);
if (authService) {
authService.delegate = self;
authService.clientKey = _appKey;
authService.clientSecret = _appSecret;
[authService sdkAuth];
}
}
@catch (NSException *e) {
@throw;
}
}
- (MobileRTCMeetError)enterMeeting:(NSString *)meetingNumber withPassword:(NSString *) password andName:(NSString *)displayName {
MobileRTCMeetingService * meeting = [_mobileRTC getMeetingService];
meeting.delegate = self;
MobileRTCMeetingSettings * meetingSettings = [_mobileRTC getMeetingSettings];
[meetingSettings setEnableCustomMeeting:true];
NSDictionary * meetingParms = @{
kMeetingParam_Username:displayName,
kMeetingParam_MeetingNumber:meetingNumber,
kMeetingParam_MeetingPassword:password
};
return [meeting joinMeetingWithDictionary:meetingParms];
}