Hello,
i'm developing a fire tv app and the app uses Login With Amazon SDK for Android. I'm starting my app and i manage the login with amazon process for user "xy". The user "xy" is the user from the fire tv. Everything works fine.
Now i'm switching the user on device. User "abc" is logged in. When i'm starting the app and i call mAuthManager.getToken() i retrieve the token and all data from user "xy".
How can i check that the user is changed? In documentation i found this:
"If we can retrieve tokens, we know that the customer is already logged in so we can skip the login step. onCreate calls getToken as a first step to check if the customer is logged in."
But i retrieve always a token.
Can anybody help me?
Thx