-
Notifications
You must be signed in to change notification settings - Fork 156
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Android app crashes on session disconnected #175
Comments
Maybe something similar on iOS but
.. And I commented However |
Still happening in v0.9 |
@selcute @Artemnsk I have a fix for the crash and the |
The fix for this has been released with v0.9.4 |
Bug Report
What is the current bug behavior?
App crashes on session disconnected on Android when we force disconnect user from the session and he was also in this session before. It seems like the session isn't closing and doesn't clear its callbacks. The
sessionConnected
event fires every time user joins the session, butsessionDisconnected
fires only when we force close the session/disconnect all users.My temporary solution is: #176 but it doesn't feel good.
Steps to reproduce
SetsessionDisconnected
event handler on OTSession component, join video chat and force disconnect users from the sessionDoesn't matter whether even handler is set.
sessionDisconnected
event handler is set it doesn't fire.What is the expected correct behavior?
App shouldn't crash.
Relevant logs and/or screenshots
The text was updated successfully, but these errors were encountered: