You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 18, 2023. It is now read-only.
This fix does not wait for the sessionConnected event. Instead it calls the callback instantly after the Session.connect is called. And according to the docs:
sessionConnected: Dispatched locally by the Session object when the connection is established. However, you can pass a completion handler function in as the second parameter of the connect() and use this function instead of a listener for the sessionConnected event.
The completion handler should be called upon connecting, aka on sessionConnected. This was the case before the fix was implemented.
I think we should partly revert the change into something like this:
That way we will still have the error handling as was mentioned in #107. And when no errors happens our callback will be triggered when the session is connected, as it should be according to the docs.
Bug Report
Current behavior
Example Project
Steps to reproduce
What is the current bug behavior?
What is the expected correct behavior?
Relevant logs and/or screenshots
Following is the current log. Also, there is no opentok related network log of this cordova application's webview
Network log
Console log
Environment information
The text was updated successfully, but these errors were encountered: