Question

how to get info about an product for in app purchase like wether item is consumable or non consumable etc ? SKProduct give me only productidentifier ,price , title and localized title etc ?

Was it helpful?

Solution

Since you (as the developer) define which products/items can be "restored" then you should already know if it's a consumable (non-restorable) or non-consumable (restorable) item.

If needed you can make a call to restoreCompletedTransactions to get back information on all non-consumable items the user has purchased (for example if they're running the app on a new phone).

OTHER TIPS

This code will get you going: works on the simulator too: https://github.com/boxerab/InAppPurchase

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top