Bump minimum WebView version and default user agent string
Cette révision appartient à :
Parent
ac8ed3c028
révision
7e053b5862
2 fichiers modifiés avec 2 ajouts et 2 suppressions
|
@ -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",
|
||||
)
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
Référencer dans un nouveau ticket