fix(native): an error page in place of the server's keeps a way back to the address screen

A proxy's block page or a refused client certificate (Cloudflare's "Sorry, you have been blocked") left the app on a page without TREK's UI and no way to change the server. Any 4xx main-frame page that the client-certificate path does not handle now shows the sign-in bar with its own hint and "Change server", on iOS and Android. TestFlight feedback, 5.1.2.
This commit is contained in:
Maurice
2026-11-11 20:41:24 +00:00
parent 66b8f2c906
commit e0022c12c4
35 changed files with 155 additions and 15 deletions
+2
View File
@@ -19,6 +19,8 @@ const native: TranslationStrings = {
'native.offline.hint': 'TREK เข้าถึง {server} ไม่ได้ โปรดตรวจสอบการเชื่อมต่อแล้วลองอีกครั้ง',
'native.offline.retry': 'ลองอีกครั้ง',
'native.changeServer': 'เปลี่ยนเซิร์ฟเวอร์',
'native.errorPageBar.hint':
'หน้านี้ไม่ได้มาจาก TREK: เซิร์ฟเวอร์หรือพร็อกซีที่อยู่ข้างหน้าปฏิเสธแอป ตรวจสอบพร็อกซีหรือใบรับรอง หรือเปลี่ยนเซิร์ฟเวอร์',
'native.signInBar.hint':
'พาสคีย์และคีย์ความปลอดภัยใช้ไม่ได้บนหน้านี้ในแอป ลงชื่อเข้าใช้ด้วยรหัสผ่าน หรืออนุญาตให้แอปผ่านพร็อกซีของคุณ',
'native.login.failed': 'เข้าสู่ระบบไม่สำเร็จ โปรดลองอีกครั้ง',