Same issue here.
Post
Replies
Boosts
Views
Activity
I just found the solution on Reddit: Make sure you have 'Get Beta Updates' set to off, in the Apple TV settings. Once you turn this setting off the TvOS 16 beta will appear after selecting system update.
This is completely unintuitive, but it works!
The .storeButton(.visible, for: .cancellation) does not refer to a button to cancel a subscription -- it is a setting to show or hide the button to cancel the store view. This button is displayed in the upper right corner of the store view and is used to dismiss the view. Depending on your paywall logic you may or may not want to show this button -- hence the option to make it visible or hidden. I had the same misconception for days until I figured it out. Hope this helps.
Thank you @Sunny_Apple, I was not aware of that forum! 🙏🏽
@szmczyk, thank you very much — that’s exactly what I needed to do. Much appreciated. 🙏🏽
@Skylark this seems to be the case. I’ve spent almost a week trying dozens of variations to detect subscription cancel from AppStore or other device in order to manage subscription state persistence — without success.
The challenge is due to the fact that StoreKit does not send a separate transaction when a subscription is cancelled but instead updates the subscription transaction record to expired.
From my reading you are supposed to be able to detect this through the absence of a particular product in CurrentEntitlements, but I cannot figure out how to do this. This is such a common use case that I believe I might be over complicating something that is already handled by the StoreKit API.
Any thoughts on how others are handling subscription cancels is appreciated.
The SwiftUI for Storekit .manageSubscriptionsSheet() view modifier exposes a complete in-app subscription management interface that allows you to enable the user to cancel an active subscription or select a new subscription from your app's subscription group from within your app.
.manageSubscriptionsSheet(
isPresented: $presentingSubscriptionSheet,
subscriptionGroupID: ProductIdentifiers.subscriptionGroupID
)
Hope this helps.
Enhancement request updated: FB15596260 Apple Intelligence RAG Support.