Use of SubscriptionStoreView

I am developing my first app and having issues understanding how SubscriptionStoreView works. I used some business logic available from Apple, but I see other resources that insinuate the StoreKit views can handle all of the business logic itself, and all I need is the config file.

Can anyone confirm? When I'm previewing SubscriptionStoreView, It just says, "The subscription is unavailable in the current storefront," and I cannot find what that means or what to fix.

Hello,

To test the SubscriptionStoreView in preview you need to use local storekit files. You can find here how to configure:

https://developer.apple.com/documentation/xcode/setting-up-storekit-testing-in-xcode/

Use of SubscriptionStoreView
 
 
Q