avaliabrasil/avalia-brasil

Login and Logout seems inconsistent.

pedroliman opened this issue · 1 comments

Login and Logout functions should be revised:

Facebook photo keeps showing up after loging in anonymously:

  • Login with facebook, and logout;
  • Login anonymously;
  • The last picture is still there.

Also, the facebook button sometimes is not there, which is strange to the user.

The problem "the facebook button sometimes is not there, which is strange to the user" is there. Even if I restart the Avalia Brasil App, the loggin screen won't show facebook button:

I had just logged off my facebook account, and that happens:
image

You should check LoginActivity.java:124 - 127 to fix this. If you loggout Avalia Brasil, that doesn't means that the variable accessToken is null!

I've debugged it, and Avalia Brasil loggout maintains the accessToken variable!!