feat(apple): collect transfers held for this device

Adds the opt-in foreground check and an explicit Check now, the waiting-to-
be-delivered list on the sender side, and honest reporting when a send could
not be delivered: a closed app is a delay, not a success nobody received.

The setting is off by default and its footer states that checking reveals
app-open times to remembered devices, since that is the reason it is a
setting at all.

Records in the design doc that this shipped as one global toggle rather than
the per-contact opt-in originally specified.
This commit is contained in:
2026-08-06 19:00:04 +02:00
parent 94a8ba2103
commit 0f70663263
52 changed files with 492 additions and 21 deletions

View File

@@ -337,6 +337,13 @@
<string name="contacts_grant_lifetime_title">Забывать неиспользуемые устройства через</string>
<string name="contacts_grant_lifetime_hint">Отсчёт начинается заново при каждой передаче с устройством.</string>
<string name="contacts_grant_lifetime_never">Никогда</string>
<string name="contacts_check_on_open">Проверять ожидающие передачи</string>
<string name="contacts_check_on_open_hint">При открытии VniDrop сохранённые устройства опрашиваются, есть ли у них что-то для вас. Так они узнают, когда вы открыли приложение.</string>
<string name="contacts_check_now">Проверить сейчас</string>
<string name="contacts_check_none">Ничего не ожидает</string>
<string name="contacts_offer_held">Это устройство не открыто. Передача будет доставлена при следующем запуске VniDrop.</string>
<string name="contacts_waiting_title">Ожидает доставки</string>
<string name="contacts_waiting_hint">Отмените передачу, чтобы отозвать её.</string>
<plurals name="transfer_file_count">
<item quantity="one">%1$d файл</item>
<item quantity="few">%1$d файла</item>