Bump default user agent string and minimum WebView version
This commit is contained in:
parent
1e65313fa7
commit
addd6bffbd
@ -17,6 +17,6 @@ class NetworkPreferences(
|
||||
}
|
||||
|
||||
fun defaultUserAgent(): Preference<String> {
|
||||
return preferenceStore.getString("default_user_agent", "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:106.0) Gecko/20100101 Firefox/106.0")
|
||||
return preferenceStore.getString("default_user_agent", "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:108.0) Gecko/20100101 Firefox/108.0")
|
||||
}
|
||||
}
|
||||
|
@ -11,7 +11,7 @@ import logcat.LogPriority
|
||||
object WebViewUtil {
|
||||
const val SPOOF_PACKAGE_NAME = "org.chromium.chrome"
|
||||
|
||||
const val MINIMUM_WEBVIEW_VERSION = 102
|
||||
const val MINIMUM_WEBVIEW_VERSION = 105
|
||||
|
||||
fun supportsWebView(context: Context): Boolean {
|
||||
try {
|
||||
|
Loading…
Reference in New Issue
Block a user