feat: Android syncs every fifteen minutes while closed (notifications, Phase 10)

A WorkManager worker runs the full pass with a nine-minute deadline,
scheduled from the application behind ExperimentalFeatures.backgroundSync.
The settings screen says what each platform does while closed, and when it
last did it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Kgothatso NgakoandClaude Opus 5.5 committed 2026-11-22 12:53:44 +02:00
1 parent 4a6f45aac8
commit c9faf62f09
13 files changed
+229 -3

No files matched your search

@@ -820,4 +820,11 @@
<string name="show_message_text_supporting">Off, a notification says only that a message arrived</string>
<string name="mute_notifications">Mute notifications</string>
<string name="mute_notifications_supporting">Unread messages are still counted</string>
<string name="background_sync">Background sync</string>
<string name="background_last_checked">Last checked while closed: %1$s</string>
<string name="background_never_checked">Not checked while closed yet</string>
<string name="background_android_explanation">While Giza is closed, Android lets it check for messages about every 15 minutes, and less often while the phone is idle.</string>
<string name="background_ios_explanation">While Giza is closed, iOS decides when it may check for messages: sometimes within minutes, sometimes a few times a day, and not at all after Giza is swiped away.</string>
<string name="background_ios_refresh_off">Background App Refresh is off for Giza, so it cannot check for messages while closed. You can turn it on in the Settings app.</string>
<string name="background_desktop_explanation">Giza checks for messages while it is running, minimised or not. Closed, it checks nothing.</string>
</resources>