[PR #6656] [PM-33506] feat: Add PremiumStatusChanged push notification support #12901

Closed
opened 2026-04-11 03:53:07 -05:00 by GiteaMirror · 0 comments
Owner

Original Pull Request: https://github.com/bitwarden/android/pull/6656

State: closed
Merged: Yes


🎟️ Tracking

PM-33506
Parent: PM-33137
Server dependency: PM-32477

📔 Objective

Add support for PremiumStatusChanged push notification (type 27). When the server sends this notification after a successful Stripe payment, the client triggers a full sync to update premium status.

  • Add PREMIUM_STATUS_CHANGED(27) to NotificationType
  • Add PremiumStatusChangedNotification payload model (userId, premium)
  • Dispatch in PushManagerImpl → trigger syncManager.fullSync()
  • Expose premiumStatusChangedFlow on PushManager for downstream consumers
**Original Pull Request:** https://github.com/bitwarden/android/pull/6656 **State:** closed **Merged:** Yes --- ## 🎟️ Tracking [PM-33506](https://bitwarden.atlassian.net/browse/PM-33506) Parent: [PM-33137](https://bitwarden.atlassian.net/browse/PM-33137) Server dependency: [PM-32477](https://bitwarden.atlassian.net/browse/PM-32477) ## 📔 Objective Add support for `PremiumStatusChanged` push notification (type 27). When the server sends this notification after a successful Stripe payment, the client triggers a full sync to update premium status. - Add `PREMIUM_STATUS_CHANGED(27)` to `NotificationType` - Add `PremiumStatusChangedNotification` payload model (`userId`, `premium`) - Dispatch in `PushManagerImpl` → trigger `syncManager.fullSync()` - Expose `premiumStatusChangedFlow` on `PushManager` for downstream consumers [PM-33506]: https://bitwarden.atlassian.net/browse/PM-33506?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ [PM-33137]: https://bitwarden.atlassian.net/browse/PM-33137?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ [PM-32477]: https://bitwarden.atlassian.net/browse/PM-32477?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
GiteaMirror added the pull-request label 2026-04-11 03:53:07 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/android#12901