Skip to main content

Hi!

I’m experiencing an issue (or possibly a missing feature) in Paywall 2.0. In Paywalls templated (v1), everything works as expected.


When I tap anything in the paywall that requires a progress view (e.g., purchase or restore), nothing appears. It just leaves me waiting until the pay sheet pops up (for purchases). For restores, nothing appears and then the paywall dismisses. This could make users think their tap didn’t register, they need a loading indicator to know some stuff is happening.

 

Do I need to adjust how I’m initializing the paywall, or is this a bug/missing feature?

 

iOS version: 18.2.1

Purchases SDK version: 5.17.0

 

Here’s how I’m presenting the paywall:

PaywallView(displayCloseButton: true)
.onRequestedDismissal {
self.showPaywallView.toggle()
Task { await self.purchasesManager.processInfo() }
}

BTW, I tested presenting the paywall in different ways (e.g., using `.presentPaywallIfNeeded`), but I got the same behavior.

Would appreciate any guidance on this. Thanks!

Hi ​@ScrappyCoco,

Where in your view hierarchy do you present the PaywallView? Would it be possible to get a bigger code snippet to be able to reproduce it on our end?

Best,


Well actually i present the paywall in many places, and loading indicators doesn’t work anywhere 🫠


 

    var body: some Scene {
WindowGroup {
ContentView()
.fullScreenCover(isPresented: $showPaywallView) {
PaywallView(displayCloseButton: true)
.onRequestedDismissal {
self.showPaywallView.toggle()
Task { await self.purchasesManager.processInfo() }
}
}

 


You can, for example, use the RevenueCat app to compare Paywall v1 and Paywall v2.

 

When I preview Paywall v1 in the RevenueCat app, I can tap the buttons and see the progress view. However, when I test a V2 paywall, the progress view doesn’t appear when tapping the buttons.


Hey ​@ScrappyCoco,

Thank you for the report! We’ve found the issue happening in certain paywall templates, we are currently investigating it and we are going to release a fix as soon as possible.

 

Best,


Hi ​@ScrappyCoco,

The fixes have been released in the latest version of the SDK, do you mind upgrading and testing if it works?

 

Best,


Hi again!
After last update the progress view now appears, thanks. ​@joan-cardona 


Reply