Skip to main content
Answer

PaywallView displays "Purchases has not been configured"

  • March 1, 2024
  • 1 reply
  • 606 views

nutsmuggler
Forum|alt.badge.img+5

Hello,

Although I have been using RC for a few years I am trying the Paywall feature for the first time, on a new app.

I added a product on AppStore Connect, imported it into RC and added the RC SDK to my SwiftUI app.

I initialized RC as per the docs, and it is working because I can output my product name after calling getOfferings: the logs also show that RC initialization has been successful.

However, PaywalView displays a red badge with “Purchases has not been configured”

 

Extra info:

  • I am trying to embed the paywall view into a Carousel, that is why you see the three dots

Do you have any suggestions?

Thanks,

Davide

Best answer by nutsmuggler

After some debugging, I can say that this issue was caused by my attempt to insert the paywall into a carousel. Using a simpler .sheet or .fullscreenCover the paywall displays correctly.

This post has been closed for comments

1 reply

nutsmuggler
Forum|alt.badge.img+5
  • Author
  • Helper
  • Answer
  • March 7, 2024

After some debugging, I can say that this issue was caused by my attempt to insert the paywall into a carousel. Using a simpler .sheet or .fullscreenCover the paywall displays correctly.