Skip to content
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

Clear users resume.loginTokens in database not log user out on Android device #320

Open
pptoan23 opened this issue Jul 6, 2018 · 1 comment

Comments

@pptoan23
Copy link

pptoan23 commented Jul 6, 2018

Hi guys,

I have a problem with Android device. I cleared user's loginTokens in database but user didn't log out. User have to reload app to log out.

On iOs, user log out when I clear loginTokens, don't need reload app.

Is this a bug or my mistake ? How to fix this ?

Thanks!

@vermiculite
Copy link
Contributor

Hi,
There was a bug in the react native websocket implementation that meant the close event wasn't being received from the server.
Therefore you should upgrade to React-native 0.57.8 or newer and my guess is it will just work.

Let me know how you get on please.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants