Skip to content

Fix notification suppression for cached and visible cards - #192

Merged
boehlerlukas merged 1 commit into
masterfrom
fix-disable-cached-notifications-20261022
Oct 22, 2026
Merged

boehlerlukas merged 1 commit into
masterfrom
fix-disable-cached-notifications-20261022

Conversation

@boehlerlukas

Copy link
Copy Markdown
Contributor

Signup already calls setDisableInAppNotifications(true), but the SDK only checks that flag when outbound actions arrive. Cached announcements can still appear, and cards already on screen remain visible after the setting changes.

Honor the flag when rendering notification cards and playing notification sounds, and refresh the cards immediately when the setting changes. Cached cards remain available when notifications are enabled again and still respect page exclusions. The support launcher and messenger remain available.

Validation: reproduced three failures before the fix; all 34 test suites / 586 tests pass afterward, including five regression cases covering startup/cache reload, immediate suppression, silent direct delivery, page exclusions, and opening support chat. npm run build passes with bundle-size warnings.

This PR contains the SDK fix only. The dashboard will need to consume a release containing it for the signup change to be live.

@boehlerlukas
boehlerlukas marked this pull request as ready for review October 22, 2026 17:04
@boehlerlukas
boehlerlukas merged commit e8dfcb9 into master Oct 22, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant