Question

Flutter - buying yearly and lifetime packages at the same time

  • 16 November 2022
  • 1 reply
  • 22 views

Badge

Hello,
My app has 2 plans: yearly and lifetime.

I’m trying to understand what happens when:
1. First a user buys the yearly one,
2. Then the user buys the lifetime one.

Will the yearly one be canceled automatically in each platform: Android and iOS?


1 reply

Badge +1

Hi @BitSplit,

When a user changes their subscription, it will trigger a product change. On iOS, the change will be handled automatically and the user’s access and any refunds will be handled as well: our docs, Apple’s docs. On Android, you’ll need to pass the upgradeInfo object to either purchaseProduct or purchasePackage; see more here in our docs. 

Reply