ios - Consumable InApp purchase for different amount of product -


i have game user can buy consumable product (i.e.: energy). now, want start sale sell more energy same amount of money (and different amount of energy, depending on user stats). need create new product ids every possible amount of energy sell, or can use same product? there rules against practice?

ps: technicly don't care either way - user's data saved on server , app purchases processed server-side. it's matter of time apple approve new products , flexibility lost.

it seems possible. reading overview of in-app purchase:

although non-consumable products may recovered using built-in capabilities of store kit, non-renewing subscriptions must restored server. responsible recording information non-renewing subscriptions , restoring them users. optionally, consumable products tracked server. example, if consumable product service provided server, may want user retrieve results of request on multiple devices.

so seems should long save info purchase future reference.


Comments

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

android - send complex objects as post php java -

charts - What graph/dashboard product is facebook using in Dashboard: PUE & WUE -