fix(translate): bump pinned iOS app version to 26.52 (#237)

DeepL's current iOS release is 26.52. With 26.42 pinned, every request to
oneshot-free returns 429 ("your IP has been blocked by DeepL temporarily"),
regardless of the IP it is sent from.

Built from source, same host, back to back:

  HEAD (26.42) -> 429
  this change  -> 200 with a correct translation

iosAppBuild is left as it was: the A/B above only changes the version string,
and the older build number did not prevent translation. If the 26.52 IPA
reports a different CFBundleVersion, that value should replace it.
This commit is contained in:
holtwood
2026-10-08 03:20:23 -07:00
committed by GitHub
parent 66090baa7e
commit 9f76381eb4
+5 -1
View File
@@ -74,7 +74,11 @@ const (
oneshotProEndpoint = "https://oneshot-pro.www.deepl.com/v1/translate"
// Pinned to DeepL iOS IPA (CFBundleShortVersionString / CFBundleVersion).
iosAppVersion = "26.42"
// This has to track DeepL's current App Store release: a version that is no
// longer current is rejected the same way as a future one — every request
// comes back HTTP 429 ("your IP has been blocked by DeepL temporarily"),
// from any IP, direct or proxied. Bump it when DeepL ships a new build.
iosAppVersion = "26.52"
iosAppBuild = "5443737"
// Reported OS version for app_information.os_version + x-app-os-version.