Skip to content

Conversation

nalcalag
Copy link
Contributor

@nalcalag nalcalag commented Oct 7, 2025

Task/Issue URL: https://app.asana.com/1/137249556945/task/1211320822502370?focus=true

Description

Add queryPurchasesAsync() API to replace deprecated purchaseHistory
Migrate switch logic to use the new API

Steps to test this PR

Switch plan

  • Apply patch on https://app.asana.com/1/137249556945/project/1209991789468715/task/1210448620621729?focus=true
  • Install from branch
  • Make a test purchase
  • Go to Settings > Subscriptions Dev Settings
  • Scroll down to the new option "Switch Subscription"
  • Select another plan to switch, different from the one you purchased
  • Select "Without Proration" Replacement Mode
  • Tap "OK"
  • Check Google Play bottom sheet appear
  • Tap on "Subscribe"
  • Check you see the Toast of the successful purchase
  • Go to Settings > Subscription Settings
  • Check the subscription is changed

No UI changes

Copy link
Contributor Author

nalcalag commented Oct 7, 2025

This stack of pull requests is managed by Graphite. Learn more about stacking.

@nalcalag nalcalag marked this pull request as ready for review October 7, 2025 13:14
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.

2 participants