Always return nil

Description

if let auth = MobileRTC.shared().getAuthService(){
auth.delegate = self
auth.clientKey = kRTCSDKAppKey
auth.clientSecret = kRTCSDKAppSecret
auth.sdkAuth()
}

Hi shankar1,

Thanks for using Zoom SDK. Are you saying that you are getting nil from let auth = MobileRTC.shared().getAuthService()? Were you successfully initialized the SDK before getting the AuthService? You may refer to the implementation here: https://github.com/zoom/zoom-sdk-ios/blob/master/MobileRTCSample/MobileRTCSample/SDKPresenters/how_to_init_auth_sdk/how_to_init_sdk/SDKInitPresenter.m#L19

Hope this helps. Thanks!

Thanks Carson,
Now it’s working.

Glad to hear that it is working now. Happy Zooming! :slight_smile: