Skip to main content

Hi there 👋🏻

I am trying to use SubscriptionStoreView(for: offering) that is mentioned here:

https://www.revenuecat.com/blog/engineering/storekit-views-guide-paywall-swift-ui/#h-using-with-revenuecat

 

But I am not able to find this view, although I have imported both RevenueCatUI and RevenueCat.

What am I missing?

It looks like the syntax for this may have changed. SubscriptionsStoreView.forOffering should work instead as seen here: https://github.com/RevenueCat/purchases-ios/blob/e65c323edc27421a7f70aeaaf750f7adab0bfc35/Sources/Support/DebugUI/DebugContentViews.swift#L305
 
Does that work for you?


It looks like the syntax for this may have changed. SubscriptionsStoreView.forOffering should work instead as seen here: https://github.com/RevenueCat/purchases-ios/blob/e65c323edc27421a7f70aeaaf750f7adab0bfc35/Sources/Support/DebugUI/DebugContentViews.swift#L305
 
Does that work for you?

Yes Indeed,  thank you.