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
+4 -1
View File
@@ -11,7 +11,10 @@ const native: TranslationStrings = {
'native.connect.errorInvalid': 'See ei näe välja nagu veebiaadress.',
'native.connect.errorUnreachable': 'Sellel aadressil ei vastanud ükski server. Kontrolli aadressi ja oma ühendust.',
'native.connect.errorNotTrek': 'Sellel aadressil olev server ei ole TREK.',
'native.connect.errorTooOld': 'See TREKi server on rakenduse jaoks liiga vana. Seda tuleb esmalt uuendada.',
'native.connect.errorTooOld':
'Selles serveris töötab vanem TREK. Rakendus vajab TREK 5.1.3 või uuemat, seega tuleb server esmalt uuendada.',
'native.connect.recheckHint':
'See rakenduse versioon vajab sinu serveris TREK 5.1.3 või uuemat, seega kontrollib see serverit veel kord.',
'native.offline.title': 'Server pole kättesaadav',
'native.offline.hint': 'TREK ei jõudnud serverini {server}. Kontrolli oma ühendust ja proovi uuesti.',
'native.offline.retry': 'Proovi uuesti',