russell-archer / StoreHelper

Implementing In-App Purchases with StoreKit2 in Xcode 13 - 15 using SwiftUI, Swift 5.7 - 5.9, iOS 15 - 17 and macOS 12 - 14. Also supports tvOS and visionOS.
MIT License
410 stars 48 forks source link

Subscription price button sometimes disappear after cancelling a subscription #28

Closed russell-archer closed 1 year ago

russell-archer commented 1 year ago

I think this is related to the recent changes to subscriptions for promotional and introductory offers!

russell-archer commented 1 year ago

Steps to reproduce using the StoreHelperDemo project:

russell-archer commented 1 year ago

Actually, it's even easier to reproduce:

In the Xcode StoreKit testing environment, set the subscription renewal rate to 5 mins Purchase a subscription to the 'silver' product Use the 'silver' product's 'Manage Subscription' button to cancel the subscription All OK and subscription info shows the sub has been cancelled correctly After ~5 mins the subscription to 'silver' will expire Purchase button is missing for 'silver' Restarting the demo app doesn't clear the issue

russell-archer commented 1 year ago

Fixed