Type of product to purchase the application

How to get product information for the purchase of the application, since the character is consumed or not consumed, etc.? SKProduct gives me only the productidentifier, price, name and localized name, etc.

+3
source share
2 answers

Since you (as a developer) determine which products / items can be "restored", you should already know whether this is a consumable (non-recoverable) or non-consumable (recoverable) item.

If necessary, you can call restoreCompletedTransactions to get information about all the obscene items purchased by the user (for example, if they launch the application on a new phone).

+3
source

This code will help you: works with the simulator: https://github.com/boxerab/InAppPurchase

0
source

Source: https://habr.com/ru/post/1713925/


All Articles