What is the point of getting user info every time they open the app and forcing them to log out if the call fails? It's a common case that a user opens the app while their internet connection is off and it causes them to unintentionally log out.
If it's just a name or username, we can store it locally as we do for their token.
What is the point of getting user info every time they open the app and forcing them to log out if the call fails? It's a common case that a user opens the app while their internet connection is off and it causes them to unintentionally log out.
If it's just a name or username, we can store it locally as we do for their token.