feat(native): a proxy's sign-in page in the app has a way out and says what cannot work there

Behind Pangolin or authentik the app shows the proxy's sign-in page itself, and
nothing on it led back to the address screen: a failed passkey left users stuck
on every launch. A bar over that page now offers to change the server and says
that passkeys and security keys do not work there, as a web view cannot use them
for a domain the app is not tied to. It steps aside while the keyboard is up.
On iOS the page also gets the room the keyboard takes, so a button under it can
be scrolled into view. The address screen hands the bar its words in the user's
language when it connects.
This commit is contained in:
Maurice
2026-11-10 09:36:50 +01:00
parent 1454b58ea1
commit 0b3d2873c2
36 changed files with 322 additions and 3 deletions
+2
View File
@@ -20,6 +20,8 @@ const native: TranslationStrings = {
'native.offline.hint': 'Το TREK δεν μπόρεσε να συνδεθεί στο {server}. Ελέγξτε τη σύνδεσή σας και δοκιμάστε ξανά.',
'native.offline.retry': 'Δοκιμάστε ξανά',
'native.changeServer': 'Αλλαγή διακομιστή',
'native.signInBar.hint':
'Τα passkeys και τα κλειδιά ασφαλείας δεν λειτουργούν σε αυτή τη σελίδα μέσα στην εφαρμογή. Συνδεθείτε με κωδικό ή αφήστε την εφαρμογή να περνά από τον διακομιστή μεσολάβησης.',
'native.login.failed': 'Η σύνδεση δεν ολοκληρώθηκε. Δοκιμάστε ξανά.',
'native.handoff.title': 'Συνέχεια στην εφαρμογή',
'native.handoff.hint': 'Έχετε συνδεθεί ως {name}. Ανοίξτε την εφαρμογή TREK για να ολοκληρώσετε εκεί τη σύνδεση.',