Skip to content

fix(login): also clear cache / history / form data on VVO and XQT login#2155

Closed
jim-daf wants to merge 1 commit into
DimensionDev:masterfrom
jim-daf:fix-login-clearcache
Closed

fix(login): also clear cache / history / form data on VVO and XQT login#2155
jim-daf wants to merge 1 commit into
DimensionDev:masterfrom
jim-daf:fix-login-clearcache

Conversation

@jim-daf
Copy link
Copy Markdown

@jim-daf jim-daf commented May 15, 2026

Closes #2154.

VVOLoginScreen and XQTLoginScreen both want a fresh WebView for each sign-in attempt, but the cleanup in onCreated only handles cookies (and, for XQT, web storage). The WebView's disk cache, navigation history and saved form data carry over from any previous login session that ran in the same process.

Add the standard cleanup calls inside both onCreated lambdas:

CookieManager.getInstance().removeAllCookies(null)
it.clearCache(true)
it.clearHistory()
it.clearFormData()

For XQTLoginScreen this keeps the existing WebStorage.getInstance().deleteAllData() call too.

After this change a fresh launch of the login screen really does start from zero, even if a previous VVO / X account left state behind in the same install.

VVOLoginScreen and XQTLoginScreen both want a clean WebView for each
sign-in attempt, but the existing onCreated only clears cookies (and
WebStorage for XQT). The disk cache, navigation history and saved
form data left behind by an earlier session in the same install carry
over to the next sign-in.

Add webView.clearCache(true) / clearHistory() / clearFormData() to
both onCreated blocks so a fresh launch of the login screen really
does start from zero.
@Tlaster
Copy link
Copy Markdown
Contributor

Tlaster commented May 17, 2026

Closing this as the AI failed to respond within 24 hours and is therefore considered dead.

Feel free to reopen this issue if the AI comes back to life and can provide the requested reproduction proof.

@Tlaster Tlaster closed this May 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

VVO / XQT login WebViews skip clearCache / clearHistory / clearFormData on fresh start

2 participants