Repository navigation
Add web and desktop push notification channels - #3081
Merged
SawyerHood merged 4 commits intoSep 4, 2026
Merged
Conversation
SawyerHood
deleted the
bb/support-additional-push-platforms-thr_2ymudqj3ku
branch
September 4, 2026 21:00
Open
2 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Human comments
What was wrong
The built-in Push notifications plugin only delivered through Expo to registered mobile devices. Browser and desktop users received no system notifications when threads needed attention, and there were no independent delivery switches.
What changed
Added separate mobile, web, and desktop settings, enabled by default. The existing coalesced sender broadcasts eligible notifications to connected web and desktop clients; an app-wide plugin component displays native system notifications and opens the thread on click. Browser permission is requested from a settings button. Multiple tabs/windows deduplicate notifications using Web Locks and local storage.
Added a settings test button and
bb push-notifications test <web|desktop>, with a validated plugin RPC for SDK callers. Updated CLI guidance, configuration documentation, and the plugin overview. This uses existing plugin APIs and does not change the host daemon protocol.Web delivery requires an open tab and permission; desktop delivery requires an open app window. Closed-app mobile push remains unchanged.
How you verified
pnpm exec turbo run typecheck test --filter=bb-plugin-push-notifications: passed, 17 tests. New regressions cover channel independence, delivery without a mobile subscription, stale/read thread suppression, RPC validation, permission behavior, deduplication, navigation, and cleanup.bb plugin build plugins/push-notifications: server and app bundles compiled.showwithout an error. Dispatched click events on the received notifications and verified both clients opened the correct thread; physical OS banner clicks were not tested.