[PR #6795] [PM-33518] feat: Add isInAppUpgradeAvailableFlow to PremiumStateManager #32883

Open
opened 2026-04-18 16:13:59 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/bitwarden/android/pull/6795
Author: @SaintPatrck
Created: 4/14/2026
Status: 🔄 Open

Base: premium-upgrade/PM-33517-settings-premium_bakHead: premium-upgrade/PM-33518-upgrade-available-flow


📝 Commits (1)

  • 65f09c8 [PM-33518] feat: Add isInAppUpgradeAvailableFlow to PremiumStateManager

📊 Changes

3 files changed (+61 additions, -0 deletions)

View changed files

📝 app/src/main/kotlin/com/x8bit/bitwarden/data/billing/manager/PremiumStateManager.kt (+8 -0)
📝 app/src/main/kotlin/com/x8bit/bitwarden/data/billing/manager/PremiumStateManagerImpl.kt (+13 -0)
📝 app/src/test/kotlin/com/x8bit/bitwarden/data/billing/manager/PremiumStateManagerImplTest.kt (+40 -0)

📄 Description

🎟️ Tracking

https://bitwarden.atlassian.net/browse/PM-33518

📔 Objective

Add a consolidated isInAppUpgradeAvailableFlow to PremiumStateManager that combines isInAppBillingSupportedFlow and the MobilePremiumUpgrade feature flag into a single observable signal.

Stacked on PM-33517 PR (settings/premium management)

Changes

  • Add isInAppUpgradeAvailableFlow: StateFlow<Boolean> to PremiumStateManager interface
  • Implement in PremiumStateManagerImpl by combining billing support and feature flag flows
  • Add unit tests for the new flow covering all flag/billing combinations

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/bitwarden/android/pull/6795 **Author:** [@SaintPatrck](https://github.com/SaintPatrck) **Created:** 4/14/2026 **Status:** 🔄 Open **Base:** `premium-upgrade/PM-33517-settings-premium_bak` ← **Head:** `premium-upgrade/PM-33518-upgrade-available-flow` --- ### 📝 Commits (1) - [`65f09c8`](https://github.com/bitwarden/android/commit/65f09c8cf73ea08d34fd946d5336ba17407b0c3c) [PM-33518] feat: Add isInAppUpgradeAvailableFlow to PremiumStateManager ### 📊 Changes **3 files changed** (+61 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `app/src/main/kotlin/com/x8bit/bitwarden/data/billing/manager/PremiumStateManager.kt` (+8 -0) 📝 `app/src/main/kotlin/com/x8bit/bitwarden/data/billing/manager/PremiumStateManagerImpl.kt` (+13 -0) 📝 `app/src/test/kotlin/com/x8bit/bitwarden/data/billing/manager/PremiumStateManagerImplTest.kt` (+40 -0) </details> ### 📄 Description ## 🎟️ Tracking https://bitwarden.atlassian.net/browse/PM-33518 ## 📔 Objective Add a consolidated `isInAppUpgradeAvailableFlow` to `PremiumStateManager` that combines `isInAppBillingSupportedFlow` and the `MobilePremiumUpgrade` feature flag into a single observable signal. **Stacked on PM-33517 PR** (settings/premium management) ### Changes - Add `isInAppUpgradeAvailableFlow: StateFlow<Boolean>` to `PremiumStateManager` interface - Implement in `PremiumStateManagerImpl` by combining billing support and feature flag flows - Add unit tests for the new flow covering all flag/billing combinations --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-18 16:13:59 -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#32883