[PM-35228] Add Premium Status Changed Push Notification#20498
[PM-35228] Add Premium Status Changed Push Notification#20498sbrown-livefront wants to merge 9 commits intomainfrom
Conversation
…push-notification
🤖 Bitwarden Claude Code ReviewOverall Assessment: APPROVE This PR adds a new |
…push-notification
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #20498 +/- ##
=======================================
Coverage 47.11% 47.11%
=======================================
Files 3951 3951
Lines 119732 119744 +12
Branches 18349 18349
=======================================
+ Hits 56410 56418 +8
- Misses 59086 59090 +4
Partials 4236 4236 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Changes in this PR impact the Autofill experience of the browser clientBIT has tested the core experience with these changes and all feature flags disabled. ✅ Fortunately, these BIT tests have passed! 🎉 |
Changes in this PR impact the Autofill experience of the browser clientBIT has tested the core experience with these changes and the feature flag configuration used by ✅ Fortunately, these BIT tests have passed! 🎉 |
djsmith85
left a comment
There was a problem hiding this comment.
Changes are looking good. Approving for platform



🎟️ Tracking
https://bitwarden.atlassian.net/browse/PM-35228
📔 Objective
This pull request introduces support for handling premium status change notifications across the application. The main changes add a new
PremiumStatusChangednotification type, update the notification processing logic to handle this new type, and ensure that the premium status is correctly updated in the user's billing profile state.Notification Type and Model Additions:
NotificationType.PremiumStatusChangedenum value and correspondingPremiumStatusChangedNotificationmodel to represent premium status change events. [1] [2]NotificationResponseclass to handle deserialization of the new notification payload.Notification Handling Logic:
DefaultServerNotificationsServiceto inject and useBillingAccountProfileStateServicefor processingPremiumStatusChangednotifications, updating the user's premium status accordingly.📸 Screenshots
Trigger a
PremiumStatusChangedin Browser ExtensionScreen.Recording.2026-05-04.at.1.25.35.PM.mov