Hey @GGXXIII ,
We dont have any integration or specific workflow with PWABuilder so I would recommend reaching out to them in order to see if they can help get the paywall configured. Usually with no/low-code builders, they have their own code build up so it might be hard to directly implement the RevenueCat SDK.
Let me know if you have any other questions!
@Michael Fogel Yes have reached out to them too but not had much help. Is there any guide on where exactly to place the code to get it working in an iOS app? I’ve tried AppDelegate etc and viewing the sample apps. I can get the code added and the app built but nothing ever happens on opening the app for example. It is this part specifically:
import UIKit
import RevenueCat
import RevenueCatUI
class ViewController: UIViewController {
@IBAction func presentPaywall() {
let controller = PaywallViewController()
controller.delegate = self
present(controller, animated: true, completion: nil)
}
}
extension ViewController: PaywallViewControllerDelegate {
func paywallViewController(_ controller: PaywallViewController,
didFinishPurchasingWith customerInfo: CustomerInfo) {
}
}
How do i then call this to present the paywall? Any info would be great!
Hey @GGXXIII ,
We have some documentation which goes over best practices for displaying the paywalls in Swift between both the footer paywalls and the full screen paywall.
We generally recommend storing this in a View with contentView.
Let me know if that helps!