From 631213728ccd111fcd295319b6a0433c59d41860 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Resul=20=C3=96v=C3=BCr?= <92828257+ovurrsl@users.noreply.github.com> Date: Fri, 16 Oct 2026 16:50:21 +0300 Subject: [PATCH] fix: the store sign-in WebView cannot read local files or content URIs (#890) The sign-in pages are ordinary web pages. file access and content access default to on below targetSdk 30, so switch both off explicitly. Co-authored-by: ovurrsl --- .../java/com/droiddeck/launcher/stores/StoreLoginActivity.kt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/src/main/java/com/droiddeck/launcher/stores/StoreLoginActivity.kt b/app/src/main/java/com/droiddeck/launcher/stores/StoreLoginActivity.kt index ce678d3f67..36b0625710 100644 --- a/app/src/main/java/com/droiddeck/launcher/stores/StoreLoginActivity.kt +++ b/app/src/main/java/com/droiddeck/launcher/stores/StoreLoginActivity.kt @@ -171,6 +171,9 @@ class StoreLoginActivity : ComponentActivity() { setBackgroundColor(0xFF0A0B0D.toInt()) settings.javaScriptEnabled = true settings.domStorageEnabled = true + // Store sign-in pages are web pages; they never need to read local files or content:// URIs. + settings.allowFileAccess = false + settings.allowContentAccess = false settings.userAgentString = userAgent settings.setSupportMultipleWindows(true) settings.javaScriptCanOpenWindowsAutomatically = true