Skip to main content
Solved

Manually calling getPurchaserInfo()

  • 8 December 2021
  • 1 reply
  • 306 views

Forum|alt.badge.img+1

Hi, documentation at https://docs.revenuecat.com/docs/purchaserinfo says that we should call getPurchaserInfo() any time a user accesses premium content.

However, I can see that SDK updates its cache when app comes to screen.

Is it still necessarily to call getPurchaserInfo() anyway?

Best answer by ryan

Hey @NLL Apps!  

Is it still necessarily to call getPurchaserInfo() anyway?

Nope! The SDK will automatically update the cache when the app is launched as you’ve pointed out. The only downside is that a customer could get one “free” app launch after their subscription expired and they re-open the app while the cache is updated in the background - usually this isn’t a big deal.

View original

ryan
RevenueCat Staff
Forum|alt.badge.img+9
  • RevenueCat Staff
  • December 8, 2021

Hey @NLL Apps!  

Is it still necessarily to call getPurchaserInfo() anyway?

Nope! The SDK will automatically update the cache when the app is launched as you’ve pointed out. The only downside is that a customer could get one “free” app launch after their subscription expired and they re-open the app while the cache is updated in the background - usually this isn’t a big deal.


Reply


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