avaliabrasil / avalia-brasil

0 stars 0 forks source link

Login and Logout seems inconsistent. #31

Open pedroliman opened 8 years ago

pedroliman commented 8 years ago

Login and Logout functions should be revised:

Facebook photo keeps showing up after loging in anonymously:

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

pedroliman commented 8 years ago

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!!