android: add realtime foreground local notifications with active chat gating
Some checks failed
CI / test (push) Failing after 2m12s
Some checks failed
CI / test (push) Failing after 2m12s
This commit is contained in:
@@ -289,3 +289,9 @@
|
||||
- Added notification tap deep-link handling to open target chat from `MainActivity` via nav host.
|
||||
- Added runtime notification permission request flow (Android 13+) in `MessengerNavHost`.
|
||||
- Added parser unit test (`PushPayloadParserTest`).
|
||||
|
||||
### Step 48 - Foreground local notifications from realtime
|
||||
- Added `ActiveChatTracker` to suppress local notifications for currently opened chat.
|
||||
- Wired realtime receive-message handling to trigger local notification via `NotificationDispatcher` when chat is not active.
|
||||
- Added chat title lookup helper in `ChatDao` for notification titles.
|
||||
- Added explicit realtime stop in `ChatViewModel.onCleared()` to avoid stale collectors.
|
||||
|
||||
Reference in New Issue
Block a user