-
Notifications
You must be signed in to change notification settings - Fork 54
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
Remember previous URL when reloading app #52
Comments
Ready for AT, PR #210 , branch The feature was added as requested: remember the last URL loaded, but we also added a 24 hs limit, after that the app is loaded as always. Worth to take into account:
|
Tested with local install of remember.mov
This needs some further investigation @mrsarm . Can you please open another ticket for it with replication steps? Thanks Otherwise, good to merge...and thank you for adding some test for this. |
@ngaruko I think the logout issue may be unrelated. @dianabarsan was looking in to this... |
@ngaruko this is what I am seeing: medic/cht-core#7343 (comment) My conclusion is that Android calls a method that persists all cookies (including session cookies) on disk on a schedule (used to be manual in previous versions: https://developer.android.com/reference/android/webkit/CookieSyncManager). If you're quicker and you kill the app before the cookies are saved, you load the "old" cookies when you restart the app. I think we should investigate if it's possible to reduce the interval at which this method runs, or call the "flush" method ourselves, because it's very easily outperformed by a human.
|
Clossing the issue (I'll create a separated ticket for the issue discussed about tomorrow). |
medic/cht-core#4492 (comment)
Value can probably be saved in
onStop()
, and restored as currently done inonCreate()
.The text was updated successfully, but these errors were encountered: