feat: implement push ping receiver and one-shot sync fetch functionality

Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
2026-04-26 10:17:56 +10:00
parent c17e1c74ee
commit bc07974b4b
8 changed files with 163 additions and 93 deletions

View File

@@ -419,9 +419,9 @@ function MessageNotifications() {
}
/**
* Starts the native Android background sync service on login, keeps it
* Configures native Android push-ping background sync on login, keeps it
* informed of foreground state so it doesn't double-fire notifications,
* and stops it cleanly on unmount (logout).
* and clears it cleanly on unmount (logout).
* Only active on Android Capacitor builds.
*/
function BackgroundSyncSetup() {