feat(android): bring the Android app level with the iOS app

Everything the iOS shell gained, built natively for Android 16 with Material
You, and back to Android 7:

- Home-screen widgets in Jetpack Glance: trip, today, bookings, to-dos,
  packing, world map and travel group, from the same snapshot the iOS widgets
  read. Wallpaper colours on Android 12+, resizable in three layouts, a trip
  picker per widget (reconfigurable), live previews in Android 15's picker
  and preview images before it.
- The travel day as a Live Update: a promoted ongoing notification with the
  next stop as the status-bar chip, a countdown and the day's stops as
  segments (ProgressStyle), a quiet ongoing notification before Android 16.
- A share sheet of its own: a Material bottom sheet with the trip picker for
  files, mails, pages and links shared from any app, and the coming trips as
  launcher and direct-share shortcuts.
- Push: channels per kind of notification (chat, trip updates, invitations,
  general) by the event the server now names, stacked per channel.
- Location for navigator.geolocation from the fused provider, a store for
  Mapbox's map resources (30 days, 250 MB), Google Play Billing behind the
  StoreKit methods, and Google Wallet save links.
- Large screens: every orientation and window size without a restart,
  the window's size classes and a foldable's posture and hinge for the UI
  (windowLayout), the UI's keyboard shortcuts as the app's (keyCommands),
  predictive back, per-app language.
- The native strings in the 28 languages of the iOS app, generated from its
  strings files (scripts/generate-android-strings.mjs).

Debug builds carry a widget gallery that draws every widget at every size.
This commit is contained in:
Maurice
2026-11-07 14:16:04 +01:00
parent 3beb5c4223
commit 1e4f1922e8
85 changed files with 6782 additions and 28 deletions
@@ -0,0 +1,57 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generated by client/scripts/generate-android-strings.mjs from the iOS widget and share
sheet strings and scripts/android-strings.json. Edit those and run it again. -->
<resources>
<string name="widget_trip_name">Viatge</string>
<string name="widget_trip_description">Compta els dies fins al proper viatge i, durant el viatge, mostra el dia i el que ve després.</string>
<string name="widget_today_name">Avui</string>
<string name="widget_today_description">El pla del dia com a línia de temps, amb el temps i la propera parada.</string>
<string name="widget_bookings_name">Reserves</string>
<string name="widget_bookings_description">Els teus propers vols, trens, hotels i taules, i quan toquen.</string>
<string name="widget_todos_name">Tasques</string>
<string name="widget_todos_description">El que encara queda per al viatge i com va l\'equipatge.</string>
<string name="widget_packing_name">Equipatge</string>
<string name="widget_packing_description">Com de plenes són les maletes, el pes i el que encara falta.</string>
<string name="widget_atlas_name">Mapa del món</string>
<string name="widget_atlas_description">Els països on has estat, brillant al mapa.</string>
<string name="widget_collab_name">Grup de viatge</string>
<string name="widget_collab_description">Qui ve, els darrers missatges i la votació oberta.</string>
<string name="widget_intent_title">Tria el viatge</string>
<string name="widget_intent_description">El viatge que mostra aquest giny.</string>
<string name="widget_intent_trip">Viatge</string>
<string name="widget_intent_auto">Automàtic</string>
<string name="widget_intent_auto_hint">El mateix viatge que el tauler</string>
<string name="share_title">Afegeix a TREK</string>
<string name="share_cancel">Cancel·la</string>
<string name="share_close">Tanca</string>
<string name="share_trip">Viatge</string>
<string name="share_no_trips">Obre TREK una vegada i aquí apareixeran els teus viatges.</string>
<string name="share_hint">TREK llegeix la reserva i l’afegeix al viatge.</string>
<string name="share_later">Tria més tard</string>
<string name="share_add">Afegeix</string>
<string name="share_add_to">Afegeix a %1$s</string>
<string name="share_added">Afegit</string>
<string name="share_reading">Llegint…</string>
<string name="share_too_large">Aquest fitxer és massa gran per importar-lo.</string>
<string name="share_unsupported">TREK no pot importar això.</string>
<string name="share_failed">No s’ha pogut passar a TREK. Torna-ho a provar.</string>
<string name="share_now">Ara</string>
<string name="share_past">Passat</string>
<string name="share_tomorrow">Demà</string>
<string name="share_in_days">D’aquí a %1$d dies</string>
<string name="share_kind_pass">Passi de Wallet</string>
<string name="share_kind_pdf">PDF</string>
<string name="share_kind_mail">Correu</string>
<string name="share_kind_page">Pàgina web</string>
<string name="share_kind_text">Text</string>
<string name="share_kind_image">Foto</string>
<string name="share_kind_file">Fitxer</string>
<string name="widget_empty">Obre TREK una vegada i aquí apareixeran els teus viatges.</string>
<string name="push_channel_chat">Xat del viatge</string>
<string name="push_channel_trips">Novetats del viatge</string>
<string name="push_channel_invites">Invitacions i comparticions</string>
<string name="push_channel_name">General</string>
<string name="push_channel_tripday">Dia de viatge</string>
<string name="push_fallback_body">Notificació nova</string>
<string name="push_channel_tripday_description">El dia d\'un viatge en curs i la seva propera parada.</string>
</resources>