Skip to main content
Question

Paywall callbacks never called

  • February 12, 2025
  • 5 replies
  • 63 views

Forum|alt.badge.img+1

I have the following code:

```

            Tab ("Passport", systemImage: "airplane.departure", value: "passport") {

                NavigationStack(path: $path) {

                    if displayPaywall {

                        PaywallView()

                            .onPurchaseStarted({ package in

                                print("Purchase started")

                            })

                            .onPurchaseCompleted { customerInfo in

                                self.displayPaywall = false

                                print(customerInfo)

                            }

                            .onRestoreCompleted { customerInfo in

                                self.displayPaywall = false

                                print(customerInfo)

                            }

                    } else {

                        ScanMRCView(path: $path)

                            .environment(settingsStore)

                    }

                }

            }

```

none of the callbacks under PaywallView() are ever called. Is this a known bug? Any workarounds? Using RevenueCat 5.16.1 on iOS 18.3.1

This post has been closed for comments

5 replies

Forum|alt.badge.img+1
  • Member
  • 6 replies
  • February 13, 2025

Quite a few cases and even on their Youtube video’s comment.. .sigh

I don’t understand why this is taking so long given paywall is literally the core of the service.

 

 

 


Forum|alt.badge.img+1
  • Member
  • 6 replies
  • February 13, 2025

I had high hope for RC but now i’m stuck and have to try out their competitors unless this is resolved :( 


joan-cardona
RevenueCat Staff
Forum|alt.badge.img+6
  • RevenueCat Staff
  • 315 replies
  • February 19, 2025

Hi ​@sse-16abe8,

Thank you for reaching out! We’ve identified the issue and the PR with the fix has been merged. It’ll be out with the next SDK version.

 

Sorry about the trouble!


  • New Member
  • 1 reply
  • February 20, 2025
joan-cardona wrote:

Hi ​@sse-16abe8,

Thank you for reaching out! We’ve identified the issue and the PR with the fix has been merged. It’ll be out with the next SDK version.

 

Sorry about the trouble!

Hi ​@joan-cardona, do you have more info about the release date of this next SDK version ?


joan-cardona
RevenueCat Staff
Forum|alt.badge.img+6
  • RevenueCat Staff
  • 315 replies
  • February 20, 2025

Hi ​@adam-32b3e1,

The release is already out! It’s 5.17.0, it was released the same day.

 

Best,


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