Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
delphinius81's avatar
delphinius81
Rising Star
9 years ago

Platform Caching of IAP

Does the Oculus Platform SDK do any kind of local caching for things like application or IAP entitlements? Essentially, something that I can store and reuse if the user has no internet access instead of calling GetViewerPurchases? Happy to write my own entitlement caching system (with required encryption to prevent people hacking Unity player prefs), but wanted to double check that this did not already exist in some form.

3 Replies

Replies have been turned off for this discussion
  • It does not exist today but is planned for release in July.
  • Good to know! I'll roll with my own implementation for now then. Can you provide any information on how the planned version will secure the cached entitlements?
  • You can now get this with Platform.IAP.GetViewerPurchasesDurableCache() when GetViewerPurchases fails offline