Bump minimum WebView version and default user agent string
This commit is contained in:
parent
ac8ed3c028
commit
7e053b5862
2 changed files with 2 additions and 2 deletions
|
@ -19,7 +19,7 @@ class NetworkPreferences(
|
||||||
fun defaultUserAgent(): Preference<String> {
|
fun defaultUserAgent(): Preference<String> {
|
||||||
return preferenceStore.getString(
|
return preferenceStore.getString(
|
||||||
"default_user_agent",
|
"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",
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -15,7 +15,7 @@ import kotlin.coroutines.resume
|
||||||
object WebViewUtil {
|
object WebViewUtil {
|
||||||
const val SPOOF_PACKAGE_NAME = "org.chromium.chrome"
|
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
|
* Uses the WebView's user agent string to create something similar to what Chrome on Android
|
||||||
|
|
Reference in a new issue