Hi John,
I am able to initialise the android sdk with jwt and able to start and join as a host , but in iOS i am not able to get callbacks invoked after initialise sdk i am using below code please correct me if i am worng
MobileRTCSDKInitContext *context = [[MobileRTCSDKInitContext alloc] init];
// The domain we will us is zoom.us
context.domain = @“zoom.us”;
// Turns on SDK logging. This is optional.
context.enableLog = YES;
context.locale = MobileRTC_ZoomLocale_Default;
// Call initialize:(MobileRTCSDKInitContext *_Nonnull)context to create an instance of the Zoom SDK. Without initializing first, the SDK will not do anything. This call will return YES if the SDK was initialized successfully.
BOOL sdkInitSuc = [[MobileRTC sharedRTC] initialize:context];
// Check if initialization was successful. Obtain a MobileRTCAuthService, this is for supplying credentials to the SDK for authorization.
if (sdkInitSuc) {
MobileRTCAuthService *authService = [[MobileRTC sharedRTC] getAuthService];
if (authService) {
// Supply the SDK with SDK Key and SDK Secret. This is required if a JWT is not supplied.
// To use a JWT, replace these lines with authorizationService.jwtToken = yourJWTToken;
// authService.clientKey = sdkKey;
// authService.clientSecret = sdkSecret;
authService.jwtToken = @“my jwt token”;
// Assign AppDelegate to be a MobileRTCAuthDelegate to listen for authorization callbacks.
authService.delegate = self;
// Call sdkAuth to perform authorization.
[authService sdkAuth];
}
}else{
NSLog(@"failed initialse SDK");
}
below method is not invoked if I use jwt token but the same method is invoking if I include sdkKey and sdkSecret also the jwt token is working fine on android client but not in iOS
- ( void )onMobileRTCAuthReturn:(MobileRTCAuthError)returnValue