Improve WebView spoofing (#3678)
- Spoof `Sec-CH-UA` client hints to match the user agent - Fix `X-Requested-With` spoofing leaking to unrelated callers - Update default user agent to Chrome 149
This commit is contained in:
@@ -24,6 +24,7 @@ androidx-test-espresso = "3.7.0"
|
||||
androidx-test-junit = "1.3.0"
|
||||
androidx-test-uiautomator = "2.4.0"
|
||||
androidx-viewPager = "1.1.0"
|
||||
androidx-webkit = "1.16.0"
|
||||
androidx-work = "2.11.2"
|
||||
archive = "1.1.6"
|
||||
coil = "3.5.0"
|
||||
@@ -113,6 +114,7 @@ androidx-test-espresso-core = { module = "androidx.test.espresso:espresso-core",
|
||||
androidx-test-junit = { module = "androidx.test.ext:junit", version.ref = "androidx-test-junit" }
|
||||
androidx-test-uiautomator = { module = "androidx.test.uiautomator:uiautomator", version.ref = "androidx-test-uiautomator" }
|
||||
androidx-viewPager = { module = "androidx.viewpager:viewpager", version.ref = "androidx-viewPager" }
|
||||
androidx-webkit = { module = "androidx.webkit:webkit", version.ref = "androidx-webkit" }
|
||||
androidx-work = { module = "androidx.work:work-runtime", version.ref = "androidx-work" }
|
||||
archive = { module = "me.zhanghai.android.libarchive:library", version.ref = "archive" }
|
||||
coil-compose = { module = "io.coil-kt.coil3:coil-compose", version.ref = "coil" }
|
||||
|
||||
Reference in New Issue
Block a user