Closed PavelEgorov1 closed 7 years ago
Thanks for your report!
I'm quite sure loginWithEmail
is actually working correctly. There is probably something else that's missing or not working correctly here.
Can you try logging out using the logout
method before signing in to the second account?
By the way, we should definitely fix the automatic re-connects done by this library. If you can point out something that's not working, I'd be happy to hear about it. Some custom thread for re-connects really shouldn't be necessary.
Closing due to inactivity
I have the login menu, where i need to input email and password(by the user1). Then if it's correct appears
loginWithEmail()
method and it goes to main menu. When i click Exit button i return to login menu. And i login again but by other email and password (by other user2). I have reconnectThread that reconnect current user if connection is lost(your native reconnection doesn't work and overload app with logs). inside this thread i callmMeteor.reconnect()
and thenloginWithEmail()
. It must reconnect current user2. But sometimes it reconnect previous user1 (in 50% cases). So i thinkloginWithEmail()
ormMeteor.reconnect()
doesn't work correct.