question

John Madhavan-Reese avatar image
John Madhavan-Reese asked

IAP getPurchaseUpdates: meaning of "purchases made since the last invocation"

In the documentation for com.amazon.device.iap.PurchasingService getPurchaseUpdates

I see this note about the "reset" parameter:
Parameters:
reset - Set to true to get a list of all purchases. Set to false to get a list of all purchases made since the last invocation.


What is the exact meaning of "since the last invocation"?

Is it:

  1. Since the last time this request was made for this Amazon account (regardless of device or app installation instance)?
  2. Since the last time this request was made for this Amazon account from this device (regardless of app installation instance)?
  3. Since the last time this request was made for this Amazon account from this device and this instance of this installed application (not sure if there's a unique id for a given installation of an app)?
  4. Based on some alternate arrangement of these parameters, or on something else entirely?
iap
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

John Madhavan-Reese avatar image
John Madhavan-Reese answered

After some experimentation I think that "since the last invocation" specifically means since the last invocation by this running instance of the AppStoreSDK.

10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.