swift – For iOS StoreKit 2, how can I mirror a subscription downgrade in my SwiftUI Views?

[ad_1]

My app has a subscription group with 2 ranges of subscription: month-to-month and yearly. If the consumer purchases the “yearly” degree, then downgrades to “month-to-month”, the iOS dialog that pops up says that the brand new downgraded degree will begin after the present increased degree finishes. That is positive; that habits is what Apple describes within the WWDC movies.

However how do I mirror this new state of affairs in my View? I now have an energetic annual subscription and there is a month-to-month view that’s “scheduled” to begin as soon as the annual subscription is up for renewal. I understand how to point out that the annual subscription remains to be energetic however I need to present the consumer that there is a month-to-month subscription that can begin later. How do I question for this case to mirror it in my opinion? There aren’t any new transactions because the month-to-month subscription hasn’t but been bought. I do not need the consumer to maintain urgent a “purchase” button for “month-to-month” to downgrade and never get any suggestions apart from the iOS dialog.

[ad_2]

Leave a Reply