Skip to content

Fix Pro users seeing upgrade prompts#403

Merged
TomTasche merged 2 commits into
mainfrom
fix-pro-billing-prompts
Jul 20, 2025
Merged

Fix Pro users seeing upgrade prompts#403
TomTasche merged 2 commits into
mainfrom
fix-pro-billing-prompts

Conversation

@TomTasche
Copy link
Copy Markdown
Member

Based on a user review: "Terrible app! I bought the pro version, and yet the app keeps trying to force another payment."

Pro users were incorrectly seeing payment prompts because BillingManager initialization would return early when enabled=false, skipping the Pro flavor check. This left billingPreferences=null, causing hasPurchased() to return false.

Moved Pro flavor handling before the enabled check to ensure Pro users always get ads removed regardless of billing manager state.

Fixes user reports of "app keeps trying to force another payment" in Pro version.

🤖 Generated with Claude Code

TomTasche and others added 2 commits July 13, 2025 09:35
Pro users were incorrectly seeing payment prompts because BillingManager
initialization would return early when enabled=false, skipping the Pro
flavor check. This left billingPreferences=null, causing hasPurchased()
to return false.

Moved Pro flavor handling before the enabled check to ensure Pro users
always get ads removed regardless of billing manager state.

Fixes user reports of "app keeps trying to force another payment" in Pro version.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
Move Pro flavor detection before enabled check to ensure billingPreferences
is always initialized for Pro users. This prevents null pointer issues
in hasPurchased() that were causing Pro users to see upgrade prompts.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
@TomTasche TomTasche merged commit ff72cfa into main Jul 20, 2025
4 checks passed
@TomTasche TomTasche deleted the fix-pro-billing-prompts branch July 20, 2025 05:40
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