Documentation indicates that getCustomerInfo is updated every 5 minutes in a sandbox environment, and similarly, in a sandbox environment, the maximum number of updates may be limited even for subscriptions. But does it work well in production? In other words, is it OK to call getCustomerInfo every time the user tries to access the content to check eligibility?
The SDK caches the user's subscription information to reduce your app's reliance on the network. Users who unlock entitlements will be able to access them even without an internet connection. The SDK will update the cache if it's older than 5 minutes, but only if you call
getCustomerInfo(), make a purchase, or restore purchases, so it's a good idea to call
getCustomerInfo() any time a user accesses premium content.
I read the above. Does getCustomerInfo mean that it is automatically updated every 5 minutes in case of purchase or restoration without calling it separately, and if not, it should be called and used every time to obtain subscription qualification?