question

pitup3 avatar image
pitup3 asked

restore inapp

how to restore inapp in amazon, i am little bit confused in this, is there any code or example to refer
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

Bipin@Amazon avatar image
Bipin@Amazon answered
To Restore Inapp item or sync inapp items callback is given on method purchaseUpdatesResponse. purchaseUpdatesResponse is invoked once the call from initiatePurchaseUpdatesRequest is completed. On a successful response, a response object is passed which contains the request id, request status, a set of previously purchased receipts, a set of revoked skus, and the next offset if applicable. If a user downloads your application to another device, this call is used to sync up this device with all the user's purchases. you can download the latest SDK and find the sample code ( https://developer.amazon.com/sdk/thank-you.html )
10 |5000

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