Repository navigation
Automatic Session Refresh not Working #452
Answered
by
jan-tennert
MatthiasKroiss
asked this question in
Q&A
|
Since version 2.0.4 I think the automatic refresh of the session is not working properly on android. After login, it seems to work but then after a few hours the app crashes on start up with the following exception: Is there anything that I have to change in newer versions. |
Answered by
jan-tennert
Feb 6, 2024
Replies: 1 comment 6 replies
|
@MatthiasKroiss Hmm, there weren't any changes to auto refresh for the last 10 versions or something like that. I assume you didn't disable auto refresh in the auth config? And do you never see a log like "Session expired. Refreshing session..."? The session always gets refreshed 20% before the expiration, so it shouldn't be too late |
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Okay, I'm integrating change which sets the session status back to
LoadingFromStoragewhenever the app goes into background. So you can collect thesessionStatusflow and change your Ui depending on the value (and it will never be Authenticated if the app just opened).Example: