ark-brighthustle / flutter_zoom_sdk

Zoom SDK from ZOOM ported to flutter as plugin with all necessary features and with Null Safety which is implementation by CodeSyncr
BSD 3-Clause "New" or "Revised" License
39 stars 84 forks source link

Meeting continuously getting disconnected right after status is connected - (Android & iOS ) #114

Open waqas-alii opened 1 year ago

waqas-alii commented 1 year ago

I was able to join the meeting in past. But, now I'm not able to join the zoom meeting. every time I try to join the meeting it gets connected and then it gets disconnected with toast messages

MEETING_STATUS_CONNECTING MEETING_STATUS_DISCONNECTING METTING_STATUS_FAILED MEETING_STATUS_IDLE

I think this is due to some updates from zoom which need to be accommodated in this package.

@evilrat can you please accommodate the updates from zoom to your package so that it starts behaving as it should?

waqas-alii commented 1 year ago

same issue created on zoom portal which is resolved by updating the SDK - check this link

waqas-alii commented 1 year ago

@evilrat @iamgouravturka any update here?

craigspicer commented 1 year ago

Anyone is welcome to use my fork. I've just updated both Android and iOS SDKs to the latest versions (5.14.0):

flutter_zoom_sdk: git: url: https://github.com/craigspicer/flutter_zoom_sdk.git ref: main

Run the same command after adding the above to your PubSpec.yaml:

flutter pub run flutter_zoom_sdk:unzip_zoom_sdk

I also added a method: returnToMeeting();

and functionality so that the user does not get asked for details when joining: userEmail: {email}, userId: {uid},

Please note: this does not work with the iOS simulator.

xellDart commented 1 year ago

Anyone is welcome to use my fork. I've just updated both Android and iOS SDKs to the latest versions (5.14.0):

flutter_zoom_sdk: git: url: https://github.com/craigspicer/flutter_zoom_sdk.git ref: main

Run the same command after adding the above to your PubSpec.yaml:

flutter pub run flutter_zoom_sdk:unzip_zoom_sdk

I also added a method: returnToMeeting();

and functionality so that the user does not get asked for details when joining: userEmail: {email}, userId: {uid},

I try your implementation, but I get on iOS

old data has cpoied done
flutter_zoom_sdk/SwiftFlutterZoomSdkPlugin.swift:166: Fatal error: Unexpectedly found nil while unwrapping an Optional value
flutter_zoom_sdk/SwiftFlutterZoomSdkPlugin.swift:166: Fatal error: Unexpectedly found nil while unwrapping an Optional value
* thread #1, queue = 'com.apple.main-thread', stop reason = Fatal error: Unexpectedly found nil while unwrapping an Optional value
    frame #0: 0x00000001a3f190f8 libswiftCore.dylib`_swift_runtime_on_report
libswiftCore.dylib`:
->  0x1a3f190f8 <+0>: ret    
libswiftCore.dylib`:
    0x1a3f190fc <+0>: b      0x1a3f190f8               ; _swift_runtime_on_report
libswiftCore.dylib`:
    0x1a3f19100 <+0>: adrp   x8, 365872
    0x1a3f19104 <+4>: ldrb   w0, [x8, #0xabc]
Target 0: (Runner) stopped.
craigspicer commented 1 year ago

Hi. I forgot to mention that it does not work on iOS Simulator at all. If this error was on a physical device I will need to investigate.

Manty-K commented 1 year ago

@craigspicer This solution worked to join regular meetings. But not able to join Webinars with it.

Stuck on MEETING_STATUS_CONNECTING

Logs:

[Meeting Status Polling] : MEETING_STATUS_IDLE - D/Surface (21277): Surface::disconnect(this=0x78eb2e3000,api=1) D/Surface (21277): Surface::disconnect(this=0x78eb2e3000,api=-1) D/Surface (21277): Surface::disconnect(this=0x78eb250000,api=1) I/flutter (21277): [Meeting Status Stream] : MEETING_STATUS_CONNECTING - Connect to the meeting server. E/NetdClient(21277): querySockNetidForUid nid:0, uid:10180, command.cmdId:11, id:0 I/flutter (21277): [Meeting Status Polling] : MEETING_STATUS_CONNECTING - I/flutter (21277): [Meeting Status Polling] : MEETING_STATUS_CONNECTING - I/flutter (21277): [Meeting Status Polling] : MEETING_STATUS_CONNECTING - I/flutter (21277): [Meeting Status Polling] : MEETING_STATUS_CONNECTING - I/flutter (21277): [Meeting Status Polling] : MEETING_STATUS_CONNECTING - I/flutter (21277): [Meeting Status Polling] : MEETING_STATUS_CONNECTING -

craigspicer commented 1 year ago

Hi. You'll need an SDK key and secret. I believe the webinar feature is a paid feature so this needs to be done on Zoom's side. We used webinars in our production app and we had to ensure that we had access to this feature.

ZoomOptions zoomOptions = ZoomOptions(
    domain: "zoom.us",
    appKey: RemoteConfiguration.getZoomApiKey(),
    appSecret: RemoteConfiguration.getZoomSecret());