question

lstipakov avatar image
lstipakov asked

Using Offset

Hello, I am implementing IAP with subscriptions, and to retrieve purchased subscriptions I use [b]initiatePurchaseUpdatesRequest[/b] with [b]offset[/b] parameter. In our usecase customer can own only one subscription. In this case, would it be safe to call [b]initiatePurchaseUpdatesRequest[/b] just once and use [b]Offset.BEGINNING[/b]? -Lev Message was edited by: lstipakov Message was edited by: lstipakov
iap
10 |5000 characters needed characters left characters exceeded

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

1 Answer

Sujoy@Amazon avatar image
Sujoy@Amazon answered
Hi Lstipakov, Thank you for writing to us. Yes, if you have only one IAP item (entitlement or subscription) type, you can call initiatePurchaseUpdatesRequest Offset.BEGINNING. The offset parameter is given for the apps having large number of items.
10 |5000 characters needed characters left characters exceeded

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