abo-el30la / zoom_native_sdk

Apache License 2.0
17 stars 11 forks source link

Flutter iOS Integration Issue with Zoom SDK: Missing JWT Token Support #6

Closed aorohith closed 7 months ago

aorohith commented 1 year ago

I have encountered a challenge while integrating the Zoom SDK with a Flutter iOS application, specifically pertaining to the following lines of code in SwiftZoomNativeSdkPlugin.swift file :

authorizationService.clientKey = sdkKey authorizationService.clientSecret = sdkSecret

Upon investigation, I realized that the iOS SDK version I downloaded does not support setting the clientKey and clientSecret directly. Instead, it appears to require a JWT token for authentication, as referenced in the Zoom Developer Documentation for JWT.

I attempted to create and use a JWT token following the documentation; however, I have not achieved the desired outcome. Currently, I am encountering a nil value when attempting to access the meeting service:

meetingService = MobileRTC.shared().getMeetingService()

This issue prevents me from proceeding to join a Zoom meeting.

I am seeking assistance or guidance on how to resolve this issue. Could you please provide a solution or point me in the right direction?

Additionally, could you specify which version of the iOS SDK has been successfully integrated with the latest version (0.3.5, released on Aug 3) of this Flutter package? It would be immensely helpful to ensure compatibility and streamline the integration process.

Thank you in advance for your time and assistance.

aorohith commented 1 year ago

I tried with version 5.14.5 it worked, Above that version only supports the JWT token. So the iOS will not work.