Description
Sample App not work in my iPhone(iOS13)
Meet Now and Setting button not active.
MobileRTCMeetingService *ms = [[MobileRTC sharedRTC] getMeetingService];
“ms” is always nil
and i set parameter like this #define KjwtToken @“eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJhdWQiOm51bGwsImlzcyI6ImgzOTNPWWE0UnpHMjZlM1FQRW9KWkEiLCJleHAiOjE1OTc3MTUwMDgsImlhdCI6MTU5NzExMDIwOH0.QEPnoshBKiVcXMhsMDXym36GbPUBUUVHmL7lT4FhkPU” #define kSDKDomain @“zoom.us”
Which version?
v5.0.24433.0616
Screenshots
Smartphone (please complete the following information):
Device: iPhone 11 pro max
OS: iOS 13
Version 13.6
Additional context
Add any other context about the problem here.
Thanks for the post. If the SDK has not been initialized successfully, you will not be able to use the meeting services. It is highly possible that your JWT token did not pass the SDK Auth. What is the return value from the callback onMobileRTCAuthReturn? Are you using SDK key&secret to compose the JWT token? Could you provide a payload of your JWT token?
Am i use JWTToken Auth not work.
MobileRTCAuthService *authService = [[MobileRTC sharedRTC] getAuthService];
if (authService)
{
authService.delegate = self;
authService.jwtToken = KjwtToken;
[authService sdkAuth];
}
this logic “onMobileRTCAuthReturn” not called.
but
MobileRTCAuthService *authService = [[MobileRTC sharedRTC] getAuthService];
if (authService)
{
authService.delegate = self;
// authService.jwtToken = KjwtToken;
authService.clientKey = kSDKAppKey;
authService.clientSecret = kSDKAppSecret;
[authService sdkAuth];
}
this logic is work. auth successful…
Thanks for sharing the code snippet. If the 2nd method works, then it means that the SDK key/secret is working and the JWT token is invalid. Could you provide the payload of the JWT token that is generated from SDK key/secret?