Skip to main content
Question

Delegate method not called with updated customer info

  • September 22, 2025
  • 3 replies
  • 52 views

Oleh
Forum|alt.badge.img+5

I am on the latest version of iOS SDK, and set delegate for observing for active entitlements and then updating the observable object. It makes it self-contained and effective for a SwiftUI app.

My problem is that its method is called when initializing the SDK, but not when the purchase is done, also not when restored purchases.

I have set it up the same way in my other apps, and they are on older versions of SDK, where it worked. 

I hope this is fixed quickly, don’t want odd workarounds in the code.

This post has been closed for comments

3 replies

alejandra-wetsch
RevenueCat Staff
Forum|alt.badge.img+6

Hey ​@Oleh

Thank you for reaching out and for reporting this! 

We will try to reproduce this and get back to you. In the meantime, could you please share some Code Snippets showing your current setup? More specifically, where are you setting the delegate, and are you setting it after the SDK configuration is completed?

Any additional code snippets you could share to mimic your environment and reproduce this issue would be much appreciated!

Thank you,


Oleh
Forum|alt.badge.img+5
  • Author
  • Member
  • October 1, 2025

Thanks for the answer!

I initialize the SDK at app launch, from the init method of a SwiftUI app to be more precise. The delegate is set once and right when the RootView is created. I checked that the delegate is not deallocated, etc.

I will keep investigating it from my side. My fix so far was to trigger force-reload of a state when purchase / restore is completed, instead of only relying on the delegate method call.


alejandra-wetsch
RevenueCat Staff
Forum|alt.badge.img+6

Hey ​@Oleh

Thank you for the additional details!

I wasn’t able to reproduce this issue yet. I will continue trying with the details you have shared to see if I can replicate. 

If you discover anything else, have some Debugging logs to share, or would like to share some code snippets, I would much appreciate it!

Thanks!