feat(native): the app needs TREK 5.1.3 on the server and checks a remembered one once after the update

The fixes that keep the app's sign-in in the app live in the server's UI,
so an updated app on a 5.1.2 server still ended in the browser. The server now
reports nativeApi 2 and the app refuses anything below it, naming 5.1.3.

A server the app remembers from before is not loaded unchecked: the first
launch after the update shows the address screen filled in with it, says why
and checks it right away. A server that is new enough loads again with its
session; an older one gets the update hint.
This commit is contained in:
Maurice
2026-11-10 09:17:26 +01:00
parent b124e1bc9c
commit 5cbe4e2fa3
39 changed files with 217 additions and 53 deletions
+2 -1
View File
@@ -11,7 +11,8 @@ const native: TranslationStrings = {
'native.connect.errorInvalid': '웹 주소가 아닌 것 같습니다.',
'native.connect.errorUnreachable': '이 주소에서 응답하는 서버가 없습니다. 주소와 연결 상태를 확인하세요.',
'native.connect.errorNotTrek': '이 주소의 서버는 TREK이 아닙니다.',
'native.connect.errorTooOld': '이 TREK 서버는 앱에서 사용하기에 너무 오래되었습니다. 먼저 업데이트가 필요합니다.',
'native.connect.errorTooOld': '이 서버는 이전 버전의 TREK을 실행 중입니다. 앱에는 TREK 5.1.3 이상이 필요하므로 먼저 서버를 업데이트해야 합니다.',
'native.connect.recheckHint': '이 버전의 앱은 서버에 TREK 5.1.3 이상이 필요하므로 서버를 한 번 더 확인합니다.',
'native.offline.title': '서버에 연결할 수 없음',
'native.offline.hint': 'TREK이 {server}에 연결하지 못했습니다. 연결 상태를 확인한 후 다시 시도하세요.',
'native.offline.retry': '다시 시도',