Skip to content

Commit

Permalink
Changing description of iap_get_viewer_purchases_durable_cache function
Browse files Browse the repository at this point in the history
  • Loading branch information
decacis committed Oct 7, 2024
1 parent 6905c48 commit 82d12b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/functions/in-app-purchases.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,9 @@ GDOculusPlatform.iap_get_viewer_purchases()\
//// admonition | iap_get_viewer_purchases_durable_cache()
type: abstract

Requests all of the logged-in user purchases.
Requests durable purchases of the logged-in user from the device cache. It is recommended to use [iap_get_viewer_purchases](#iap_get_viewer_purchases) first and only check the cache if that fails.

**Returns:** A `GDOculusPlatformPromise` that will contain a `Dictionary` - the `data` key will contain information about durable purchases from the device cache. It is recommended to use [iap_get_viewer_purchases](#iap_get_viewer_purchases) first and only check the cache if that fails. The promise will error if the request couldn't be fulfilled.
**Returns:** A `GDOculusPlatformPromise` that will contain a `Dictionary` - the `data` key will contain information about durable purchases from the device cache. The promise will error if the request couldn't be fulfilled.

Example response: see the response from [iap_get_viewer_purchases](#iap_get_viewer_purchases)

Expand Down

0 comments on commit 82d12b3

Please sign in to comment.