Hey @TBZ ,
The SDK will update the cache if it's older than 5 minutes, but only if you call getPurchaserInfo()
, make a purchase, or restore purchases, so it's a good idea to call getPurchaserInfo()
any time a user accesses premium content.
For example, if app is installed, but not launched right away, what would it look like if the app is later launched after leaving wifi zone?
When launching an app that has been installed , but never connected to wifi ,we wouldn’t be able to display your products because we fetch the information from Google/Apple. Additionally making any purchases requires a wifi connection.
Second example… Once the purchase info appears on the device once, will it be accessible later without network?
Yes once the purchaserInfo appears on the device it will be accessible without network. It won’t be able to be updated until the user is connected back to wifi. This means if someone already has a subscription the purchaserInfo will reflect this and even after they leave the wifi the SDK will check whatever the last purchaserInfo is cached on the device.