Skip to main content
Solved

Paywall not presenting RevCat 4.26.1 SPM


Forum|alt.badge.img+3

Hey all,

I recently created a Paywall for my main offering, and installed v4.26.1 via SPM. RevenueCat and RevenueCatUI dependencies installed correctly. I am using UIKit, not SwiftUI.

When I follow the instructions to present an RC paywall from my view controller, the app tries to present something, but the paywall isn’t there. The view controller just gets dimmed and unresponsive. I’m connected to the internet on the test device, and I made the paywall VC an instance variable just in case it was getting garbage collected. Nothing works … any help here would be invaluable.

 

Best answer by lavell

Hey Andy,

As I went about to get the logs I realized what the issue was … there was a name clash, my app also had a “PaywallViewController”, which took precedence over the RC one. Renamed my class and the problem went away.

Thanks!

View original
Did this post help you find an answer to your question?

3 replies

Andy
RevenueCat Staff
Forum|alt.badge.img+8
  • RevenueCat Staff
  • 237 replies
  • September 28, 2023

@lavell could you share some debug logs and a code snippet to help us reproduce and understand what’s going on? 


Forum|alt.badge.img+3
  • Author
  • Helper
  • 2 replies
  • Answer
  • September 29, 2023

Hey Andy,

As I went about to get the logs I realized what the issue was … there was a name clash, my app also had a “PaywallViewController”, which took precedence over the RC one. Renamed my class and the problem went away.

Thanks!


Andy
RevenueCat Staff
Forum|alt.badge.img+8
  • RevenueCat Staff
  • 237 replies
  • September 29, 2023

Ohhh that must have been hard to figure out 😬

 

I’m glad you caught it! Thanks for following up! 


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings