fix(translate): report iOS 27.0 in oneshot client profile

Pin app_information.os_version, x-app-os-version, and User-Agent to
iOS 27.0 for a consistent iOS client fingerprint.
This commit is contained in:
Vincent Young 2026-08-04 20:29:38 +08:00
parent a8617d4677
commit 5cd1667f7f
No known key found for this signature in database
GPG Key ID: 070D9CD629BC1AAE

View File

@ -61,9 +61,9 @@ const (
iosAppBuild = "5443737" iosAppBuild = "5443737"
iosBundleID = "com.linguee.DeepLMobileTranslator" iosBundleID = "com.linguee.DeepLMobileTranslator"
// Stable OS version reported in app_information + x-app-os-version. // Stable OS version reported in app_information + x-app-os-version.
// HelloIOS_Auto does not pin a specific iOS minor; 18.5 is a current // HelloIOS_Auto does not pin a specific iOS minor; pin a fixed value
// shipping major that matches MinimumOSVersion 17.0+ of the IPA. // so UA / x-app-os-version / app_information stay consistent.
iosOSVersion = "18.5" iosOSVersion = "27.0"
// oneshot enforces a 1500-character hard cap on the total length of // oneshot enforces a 1500-character hard cap on the total length of
// the `text` array for anonymous traffic (same limit the Chrome // the `text` array for anonymous traffic (same limit the Chrome