Updating iOS SDK documentation - getting started section

Description
I was following the documentation on getting started with native SDK’s iOS. In the section “Edit your keys and names”(link: https://marketplace.zoom.us/docs/sdk/native-sdks/iOS/getting-started/edit-key-and-name) is written, “Change the kSDKAppKey property and the kSDKAppSecret property to be your own SDK key and secret.”. In the MobileRTCSample/AppDelegate.h file I don’t see a property kSDKAppKey nor kSDKAppSecret. That’s the case in the v5.0.24433.0616 SDK version. I downloaded also the v4.6.21666.0428 SDK version and there the properties are present.

I assume the problem lies in updating the documentation.

What should I do?

Which version?
v5.0.24433.0616

Hi @filiperni,

Thanks for using Zoom SDK. Yes, in the latest SDK v5.0.24433.0616, the kSDKAppKey and the kSDKAppSecret has been removed. Please use the JWT token for SDK initialization.

To generate the JWT token, you may refer to the following steps:

  1. Follow the instruction here to create an SDK app on Marketplace and get the SDK credentials: https://marketplace.zoom.us/docs/guides/build/sdk-app
  2. Once you have the SDK key/secret, use the following template to compose your JWT token for SDK initialization:

** Header

{
  "alg": "HS256",
  "typ": "JWT"
}

** Payload

{
	   "appKey": "string", // Your SDK key
         "iat": long, // access token issue timestamp
         "exp": long, // access token expire timestamp
         "tokenExp": long // token expire timestamp, MIN:30 minutes
}

The minimum value of tokenExp should be at least 30 minutes, otherwise, SDK will reject the authentication request.
** Signature

HMACSHA256(
  base64UrlEncode(header) + "." +
  base64UrlEncode(payload),
  "Your SDK secret here"
)

I will forward your feedback to the doc team to update the content in the doc. Hope this helps. Thanks!