inProgress-team / react-native-meteor

Meteor Reactivity for your React Native application :)
MIT License
693 stars 210 forks source link

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

Open pptoan23 opened 6 years ago

pptoan23 commented 6 years ago

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 commented 5 years ago

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.