Bump minimum WebView version and default user agent string

This commit is contained in:
arkon 2024-01-06 09:45:41 -05:00
parent ac8ed3c028
commit 7e053b5862
2 changed files with 2 additions and 2 deletions

View File

@ -19,7 +19,7 @@ class NetworkPreferences(
fun defaultUserAgent(): Preference<String> {
return preferenceStore.getString(
"default_user_agent",
"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/118.0",
"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/121.0",
)
}
}

View File

@ -15,7 +15,7 @@ import kotlin.coroutines.resume
object WebViewUtil {
const val SPOOF_PACKAGE_NAME = "org.chromium.chrome"
const val MINIMUM_WEBVIEW_VERSION = 114
const val MINIMUM_WEBVIEW_VERSION = 118
/**
* Uses the WebView's user agent string to create something similar to what Chrome on Android