Skip to content

Fix highlight + foreground notifications, bump deps to v1.9.34#292

Merged
r0073rr0r merged 2 commits into
masterfrom
develop
Jun 28, 2026
Merged

Fix highlight + foreground notifications, bump deps to v1.9.34#292
r0073rr0r merged 2 commits into
masterfrom
develop

Conversation

@r0073rr0r

@r0073rr0r r0073rr0r commented Jun 26, 2026

Copy link
Copy Markdown
Contributor

Notifications were silently dropped when the app was in the foreground on a different tab: BackgroundService short-circuited on isAppInBackground() and there was no foreground path. Add a system notification dispatch in useConnectionLifecycle that fires when the message lands in a tab other than the active one, gated on !backgroundService.isAppInBackground() to avoid duplicates.

NotificationService.shouldNotify never consulted highlightService, so custom highlight words only affected UI rendering, not alerts. Check highlightService.isHighlighted() inside the notifyOnMentions branch and extend the MENTION sound path to fire on highlight matches too.

Bump app to 1.9.34 / versionCode 139 and refresh dependencies: Firebase 24.1.1->25.1.0, RN community CLI 20.1.3->20.2.0, Reanimated 4.4.1->4.5.0, Worklets 0.9.2->0.10.0, plus patch releases for Transifex, bootsplash, IAP, keyboard-controller, nitro-modules, google-mobile-ads, testing-library, @types/node and prettier.

Pull Request

Summary

  • Describe the change clearly.
  • Explain why the change is needed.
  • Link related issues, discussions, or follow-up work.

Change Type

  • Bug fix
  • Feature
  • Refactor
  • Tooling / CI
  • Documentation
  • Dependency update

Verification

  • yarn format-check
  • yarn lint:ci
  • yarn type-check
  • yarn test:ci

List any additional manual verification performed:

Impact and Risk

  • Describe user-facing impact.
  • Call out migrations, config changes, or rollout risk.
  • Note anything intentionally left for a follow-up PR.

UI Changes

  • No UI changes
  • UI changes included below

Screenshots or recordings:

Checklist

  • Tests added or updated when behavior changed
  • Documentation updated when behavior, setup, or workflow changed
  • PR is scoped and does not mix unrelated changes
  • Security/privacy implications reviewed if relevant

Notifications were silently dropped when the app was in the foreground
on a different tab: BackgroundService short-circuited on
isAppInBackground() and there was no foreground path. Add a system
notification dispatch in useConnectionLifecycle that fires when the
message lands in a tab other than the active one, gated on
!backgroundService.isAppInBackground() to avoid duplicates.

NotificationService.shouldNotify never consulted highlightService, so
custom highlight words only affected UI rendering, not alerts. Check
highlightService.isHighlighted() inside the notifyOnMentions branch and
extend the MENTION sound path to fire on highlight matches too.

Bump app to 1.9.34 / versionCode 139 and refresh dependencies:
Firebase 24.1.1->25.1.0, RN community CLI 20.1.3->20.2.0, Reanimated
4.4.1->4.5.0, Worklets 0.9.2->0.10.0, plus patch releases for
Transifex, bootsplash, IAP, keyboard-controller, nitro-modules,
google-mobile-ads, testing-library, @types/node and prettier.
@r0073rr0r r0073rr0r linked an issue Jun 26, 2026 that may be closed by this pull request
@r0073rr0r r0073rr0r self-assigned this Jun 26, 2026
@r0073rr0r r0073rr0r added the bug Something isn't working label Jun 26, 2026
@r0073rr0r r0073rr0r merged commit a173c76 into master Jun 28, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: No notifications

1 participant