RevenueCat returns empty customer info

  • 13 July 2022
  • 3 replies

Badge +4

I am having an issue with getting information from RevenueCat products and customer info. I have followed the guidelines step by step, but the delegate returns empty!

First, configuring the SDK:

struct ProjectApp: App {

init() {

Purchases.logLevel = .debug
with: Configuration.Builder(withAPIKey: "PUBLIC_API_KEY")
.with(usesStoreKit2IfAvailable: true)
Purchases.shared.delegate = PurchasesDelegateHandler.shared

and then handling delegates using PurchasesDelegateHandler just like the official's sample demo:

class PurchasesDelegateHandler: NSObject, ObservableObject {
static let shared = PurchasesDelegateHandler()
extension PurchasesDelegateHandler: PurchasesDelegate {

func purchases(_ purchases: Purchases, receivedUpdated customerInfo: CustomerInfo) {
SubscriptionManager.shared.customerInfo = customerInfo


and here is the debug logs:

3 replies

Badge +5

Thanks for the detailed bug report!

From the logs it appears that the delegate method is simply never called, can you confirm that?

I will try to reproduce this.

Badge +5

I just ran your same code and it’s working for me:


Can you give us more details about your environment? Are you running on device? Which Xcode / iOS version?

Badge +4

Thank you so much for your response, The problem has been resolved now, there was an issue in creating offerings.