# Join New Meeting SDK in Android

**URL:** <https://devforum.zoom.us/t/join-new-meeting-sdk-in-android/93153>\
**Category:** Meetings\
**Created:** [August 9, 2023, 9:14am UTC](https://devforum.zoom.us/t/join-new-meeting-sdk-in-android/93153 "2023-08-09T09:14:55Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![efren](https://avatars.discourse-cdn.com/v4/letter/e/c0e974/32.png) [@efren](https://devforum.zoom.us/u/efren)\
**Post date:** [August 9, 2023, 9:14am UTC](https://devforum.zoom.us/t/join-new-meeting-sdk-in-android/93153/1 "2023-08-09T09:14:55Z")

</div>

Hi,

We are using the Meeting SDK in an Android App.  
We have created a new Meeting SDK because the old one will become obsolete on September.

In the old Meeting SDK we could see the fields SDK Key & SDK Secret. In the new one these fields doesn’t appear. There are ClientId & Client Secret instead. We have tried these ones but it doesn’t initialize.

**Which ones we have to use? Where we can find them ?**

The code to Init & Join we use is the following:

fun ZoomSDK.initZoom(context: Context, listener: ZoomSDKInitializeListener) {  
if (!this.isInitialized) {  
try {  
this.initialize(context, listener, ZoomSDKInitParams().apply {  
appKey =  
“XXXXXXXXXXXXXXXXXXX” // TODO: Retrieve your SDK key and enter it here  
appSecret =  
“XXXXXXXXXXXXXXXXXXX” // TODO: Retrieve your SDK secret and enter it here  
domain = “[zoom.us](http://zoom.us)”  
enableLog = true // Optional: enable logging for debugging  
})  
}catch (e: Exception) {  
listener.onZoomSDKInitializeResult(-1, 0)  
}  
} else {  
listener.onZoomSDKInitializeResult(0, 0)  
}  
}

val params = JoinMeetingParams().apply {  
displayName = sharedPrefs.getUsername()  
meetingNo = meeting.zoomId.toString()  
password = meeting.zoomPassword  
}

val options = JoinMeetingOptions().apply {  
no\_titlebar = true  
no\_unmute\_confirm\_dialog = true  
no\_webinar\_register\_dialog = true  
no\_chat\_msg\_toast = true  
no\_bottom\_toolbar = true  
meeting\_views\_options = 1  
}

sdk?.meetingService?.joinMeetingWithParams(  
this@MeetActivity,  
params,  
options  
)

---

<div class="post-metadata">

**Author:** ![chunsiong.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/chunsiong.zoom/32/35488_2.png) [@chunsiong.zoom](https://devforum.zoom.us/u/chunsiong.zoom)\
**Post date:** [August 10, 2023, 4:32am UTC](https://devforum.zoom.us/t/join-new-meeting-sdk-in-android/93153/2 "2023-08-10T04:32:49Z")

</div>

@efren ,

in the newer SDK, we no longer directly accept SDK Key and SDK Secret for authentication.

You will need to sign a JWT Token using the (SDK Key + SDK Secret) or (Client ID + Client Secret) to authenticate your Android Meeting SDK.

---

<div class="post-metadata">

**Author:** ![efren](https://avatars.discourse-cdn.com/v4/letter/e/c0e974/32.png) [@efren](https://devforum.zoom.us/u/efren)\
**Post date:** [August 10, 2023, 7:56am UTC](https://devforum.zoom.us/t/join-new-meeting-sdk-in-android/93153/3 "2023-08-10T07:56:06Z")

</div>

Hi @chunsiong.zoom ,

Thanks for you answer. We have another question.  
If we update the current Meeting SDK, Could we continue using the same Android Code ?

![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/a/4/a48c0a855d4072310f29a2e9131b688ecaea54d3.png)

---

<div class="post-metadata">

**Author:** ![chunsiong.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/chunsiong.zoom/32/35488_2.png) [@chunsiong.zoom](https://devforum.zoom.us/u/chunsiong.zoom)\
**Post date:** [August 10, 2023, 7:59am UTC](https://devforum.zoom.us/t/join-new-meeting-sdk-in-android/93153/4 "2023-08-10T07:59:14Z")

</div>

@efren , if you update this application in the screenshot, it just update the method of accessing REST token from JWT App Type to OAuth App Type.

In the newer version of Meeting SDK for Android, we have removed the authentication method which directly uses the SDK Key and SDK Secret. The only way to authenticate is to use JWT Token signed with (SDK Key + SDK Secret) or (Client ID + Client Secret)

Therefore, the answer is no. You’ll not be able to use your old code, even if you update the Meeting SDK app Type.

---

<div class="post-metadata">

**Author:** ![efren](https://avatars.discourse-cdn.com/v4/letter/e/c0e974/32.png) [@efren](https://devforum.zoom.us/u/efren)\
**Post date:** [August 10, 2023, 8:52am UTC](https://devforum.zoom.us/t/join-new-meeting-sdk-in-android/93153/5 "2023-08-10T08:52:14Z")

</div>

@chunsiong.zoom I undestand. Thank you for your answer.

We’re planning inmediatly the implementation of the needed changes.  
If we’re not able to deploy the changes before September 1st, Will the meetings functionality stop working?  
Is there the posibility to extend the compatibility period for some weeks ?

Regards,

---

<div class="post-metadata">

**Author:** ![chunsiong.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/chunsiong.zoom/32/35488_2.png) [@chunsiong.zoom](https://devforum.zoom.us/u/chunsiong.zoom)\
**Post date:** [August 10, 2023, 9:07am UTC](https://devforum.zoom.us/t/join-new-meeting-sdk-in-android/93153/6 "2023-08-10T09:07:30Z")

</div>

@efren,

It depends on the version of Meeting SDK (android) which you are using right now.  
What is the version which you are currently using?

I’ve read my previous response, and it seems to be pretty confusing.

Here’s a summary, hope it helps you understand the changes better.

1st September deadline only affects **JWT App Type** , and here are some scenarios which are supported by JWT App type

- Accessing **REST API** using JWT App Type credentials
- **Meeting SDK on Web** using JWT App Type credentials
- Access **REST API** using **JWT Credentials** found on older version of **Meeting SDK App Type**

Here are some additional pointers

- you do not need to create a new **Meeting SDK app type** , just upgrade your existing **Meeting SDK App Type**. This should not break anything in production. It will upgrade the JWT credentials for Rest API to OAuth credentials for Rest API.
- you can still use the SDK Key and SDK Secret from your old **Meeting SDK App Type**. The only difference is that newer version of Android SDK does not allow you to directly input SDK Key and SDK Secret to authenticate. You need to create an additional method / function to sign a **JWT Token** with SDK Key and SDK Secret to authenticate.
- there is some changes in your old code needed, but not all parts of the code needs to be changed. only the part where the SDK authenticates. you need to change it from SDK Key+SDK Secret to JWT token.
