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">Səyahət</string>
<string name="widget_trip_description">Növbəti səyahətə qədər günləri sayır, yolda isə günü və sonrakını göstərir.</string>
<string name="widget_today_name">Bu gün</string>
<string name="widget_today_description">Günün planı zaman xətti kimi, hava və növbəti dayanacaqla.</string>
<string name="widget_bookings_name">Bronlar</string>
<string name="widget_bookings_description">Növbəti uçuşlar, qatarlar, otellər və restoranlar, nə vaxt olduqları ilə.</string>
<string name="widget_todos_name">Tapşırıqlar</string>
<string name="widget_todos_description">Səyahət üçün hələ nəyin qaldığı və yığışmağın nə yerdə olduğu.</string>
<string name="widget_packing_name">Yük siyahısı</string>
<string name="widget_packing_description">Çantaların doluluğu, çəkisi və hələ nəyin çatışmadığı.</string>
<string name="widget_atlas_name">Dünya xəritəsi</string>
<string name="widget_atlas_description">Olduğun ölkələr xəritədə parlayır.</string>
<string name="widget_collab_name">Səyahət qrupu</string>
<string name="widget_collab_description">Kim gəlir, son mesajlar və açıq səsvermə.</string>
<string name="widget_intent_title">Səyahəti seç</string>
<string name="widget_intent_description">Bu vidcetin göstərdiyi səyahət.</string>
<string name="widget_intent_trip">Səyahət</string>
<string name="widget_intent_auto">Avtomatik</string>
<string name="widget_intent_auto_hint">İdarə panelindəki səyahət</string>
<string name="share_title">TREK-ə əlavə et</string>
<string name="share_cancel">Ləğv et</string>
<string name="share_close">Bağla</string>
<string name="share_trip">Səyahət</string>
<string name="share_no_trips">TREK-i bir dəfə açın, səyahətləriniz burada görünəcək.</string>
<string name="share_hint">TREK rezervasiyanı oxuyur və səyahətə əlavə edir.</string>
<string name="share_later">Sonra seç</string>
<string name="share_add">Əlavə et</string>
<string name="share_add_to">%1$s səyahətinə əlavə et</string>
<string name="share_added">Əlavə edildi</string>
<string name="share_reading">Oxunur…</string>
<string name="share_too_large">Bu fayl idxal üçün çox böyükdür.</string>
<string name="share_unsupported">TREK bunu idxal edə bilmir.</string>
<string name="share_failed">Bunu TREK-ə ötürmək alınmadı. Yenidən cəhd edin.</string>
<string name="share_now">İndi</string>
<string name="share_past">Keçib</string>
<string name="share_tomorrow">Sabah</string>
<string name="share_in_days">%1$d gün sonra</string>
<string name="share_kind_pass">Wallet kartı</string>
<string name="share_kind_pdf">PDF</string>
<string name="share_kind_mail">E-poçt</string>
<string name="share_kind_page">Veb səhifə</string>
<string name="share_kind_text">Mətn</string>
<string name="share_kind_image">Foto</string>
<string name="share_kind_file">Fayl</string>
<string name="widget_empty">TREK-i bir dəfə açın, səyahətləriniz burada görünəcək.</string>
<string name="push_channel_chat">Səyahət söhbəti</string>
<string name="push_channel_trips">Səyahət yenilikləri</string>
<string name="push_channel_invites">Dəvətlər və paylaşımlar</string>
<string name="push_channel_name">Ümumi</string>
<string name="push_channel_tripday">Səyahət günü</string>
<string name="push_fallback_body">Yeni bildiriş</string>
<string name="push_channel_tripday_description">Davam edən səyahətin günü və növbəti dayanacağı.</string>
</resources>