-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
User is logged out when app launched on offline #103
Comments
Hello, Would you be able to post the verbose logs by enabling it while you're trying to reproduce the issue?
Also, could you post your |
Hi @sasaar, I was able to reproduce the issue and I'm working on a fix. |
Thanks for your prompt answer. Do you still need logs from our side or can you proceed with your own logs/debugging? |
This issue is now closed. Comments on closed issues are hard for our team to see. |
Describe the bug
If user launches the app in offline mode and access token is expired, user is logged out (even if refresh token is still valid). It obvious that access token cannot be refreshed as phone is offline, but could there be some other way to handle. As refresh token is still valid, access token could be refreshed when phone appears again online.
This is problematic when access token validity period is short.
Steps To Reproduce
Actual behaviour:
User sees login screen. User can continue using the app after wifi/data enabled and user has logged again into the app.
Expected behaviour:
User lands to the app as logged in. No network request can be done as access token not valid and phone in offline. As refresh token is still valid, after user enables wifi/data (phone online again), access token is refreshed and user can continue using the app normally (no need to login).
The text was updated successfully, but these errors were encountered: