Just trying to understand how this is supposed to work. No matter how many times I may call getOfferings it returns asynchronously. Even if the debug messages say that it is vending from the cache, return is async. The doc says the following with regard to the completion block: “Called immediately if offerings are cached.” Is this just wrong or is the behavior I am seeing unexpected?
getOfferings always async return?
Hey
The getOfferings method will always be asynchronous, even if there is a value cached - the inline comment is referencing that the method won’t make a network request (but not necessarily that it will return synchronously).
Sorry for the confusion here!
![Shipped It Badge](https://uploads-us-west-2.insided.com/revenuecat-en/attachment/00177be5-17f2-4400-bea7-87c75adea50f_thumb.png)
Thanks for the clarification.
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.