Closed iahvector closed 9 years ago
Yes, that token can be used. Thank you!
The latest version of this library should now support automatic login with the help of that token.
In order to update, please proceed as follows:
new Meteor(...)
with new Meteor(this, ...)
in your own codevoid onConnect()
with void onConnect(final boolean signedInAutomatically)
in your own codesignedInAutomatically
is set to false
Does that work?
Yes, Thanks. Can you please add methods to check if a user is logged in, get logged in user ID and logout?
@iahvector Please get the updated JAR again and use the methods mMeteor.isLoggedIn()
, mMeteor.getUserId()
and mMeteor.logout()
. Thanks!
How to keep a user logged in or log him automatically without saving his password? I noticed that the login request returns a token. Can't this be used?