feat(native): a link shared to TREK can go to the trip's links

A page or a link shared from another app now carries its address. The app asks whether to keep it among the trip's links (Collab, Links) or to read a booking from it. A link whose page the phone cannot read is no longer refused: it is handed over as the link alone, which can be kept. With Collab off a page is read as a booking, as before.
This commit is contained in:
Maurice
2026-11-08 10:15:26 +01:00
parent afaacec61a
commit 3458238db0
40 changed files with 617 additions and 59 deletions
+8
View File
@@ -102,6 +102,14 @@ const native: TranslationStrings = {
'Ho demana en obrir TREK i després de mig minut en segon pla, i amaga l’app al selector d’apps.',
'native.share.title': 'A quin viatge vols importar-ho?',
'native.share.noTrips': 'Encara no hi ha cap viatge. Crea’n un i torna a compartir el document.',
'native.share.linkTitle': 'Què ha de fer TREK amb aquest enllaç?',
'native.share.saveLink': 'Desa als enllaços del viatge',
'native.share.saveLinkHint': 'Tothom al viatge el troba a Enllaços',
'native.share.readBooking': 'Llegeix-ne una reserva',
'native.share.readBookingHint': 'Per a una pàgina de confirmació',
'native.share.linkTrip': 'A quin viatge desar l\'enllaç?',
'native.share.linkSaved': 'Enllaç desat',
'native.share.linkUnsupported': 'Activa Collab per guardar enllaços en un viatge.',
'native.widget.dayOf': 'Dia {n} de {m}',
'native.widget.today': 'Avui',
'native.widget.noTrip': 'Encara no hi ha cap viatge planificat',