[PM-33518] feat: Add isInAppUpgradeAvailableFlow to PremiumStateManager#6795
Conversation
🤖 Bitwarden Claude Code ReviewOverall Assessment: APPROVE This PR adds Code Review DetailsNo findings. |
|
Great job! No new security vulnerabilities introduced in this pull request |
eda128d to
581f032
Compare
5d1322c to
65f09c8
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #6795 +/- ##
==========================================
+ Coverage 85.58% 85.81% +0.23%
==========================================
Files 830 859 +29
Lines 61506 62519 +1013
Branches 8590 8602 +12
==========================================
+ Hits 52641 53652 +1011
+ Misses 5900 5898 -2
- Partials 2965 2969 +4
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
1ec1096 to
a6452ec
Compare
Combine isInAppBillingSupportedFlow and MobilePremiumUpgrade feature flag into a single StateFlow for determining whether to route premium upgrade CTAs to the in-app PlanScreen or the web vault URL.
65f09c8 to
698c16d
Compare

🎟️ Tracking
https://bitwarden.atlassian.net/browse/PM-33518
📔 Objective
Add a consolidated
isInAppUpgradeAvailableFlowtoPremiumStateManagerthat combinesisInAppBillingSupportedFlowand theMobilePremiumUpgradefeature flag into a single observable signal.Stacked on PM-33517 PR (settings/premium management)
Changes
isInAppUpgradeAvailableFlow: StateFlow<Boolean>toPremiumStateManagerinterfacePremiumStateManagerImplby combining billing support and feature flag flows