oncall-mobile-android/app/src
Mikael Hugo 2592f61942 feat(android): native push via ops /api/push/:topic
Adds OpsPushWorker, a WorkManager-based native push client that
connects to the centralcloud-ops push endpoints (SSE stream +
messages catch-up) instead of relying solely on FCM/ntfy.

## New module

- OpsPushWorker — polls /api/push/:topic/messages for catch-up,
  then opens an SSE stream on /api/push/:topic/stream. Messages
  are normalized into the existing ntfy Message shape so all
  existing notification plumbing (channels, DND bypass, actions)
  works unchanged.

## Changes to existing modules

- Application.kt: calls SmsRelayInit.start() on cold boot
- RemoteConfigFetcher: parses native_push block from
  /api/android/config response and schedules/cancels the worker
- SmsRelayInit: restarts the worker on cold boot if enabled
- SmsRelayPreferences: adds native_push_* persisted config keys

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-05-15 02:33:27 +02:00
..
debug/res/values rename: drop all ntfy heritage — package, log tags, brand, URLs (Tier 2) 2026-05-11 18:56:34 +02:00
fdroid/java/com/centralcloud/oncall/firebase rename: drop all ntfy heritage — package, log tags, brand, URLs (Tier 2) 2026-05-11 18:56:34 +02:00
main feat(android): native push via ops /api/push/:topic 2026-05-15 02:33:27 +02:00
play/java/com/centralcloud/oncall/firebase rename: drop all ntfy heritage — package, log tags, brand, URLs (Tier 2) 2026-05-11 18:56:34 +02:00