Question

I am preparing my economy-model for my game. I'm using soomla framework and just can't figure out what is the difference between this two entities.

I want to allow user to buy a new level. I think this should be a non consumable item managed by AppStore in order to allow user to restore transactions.

In the docs of CCLifetimeVG you can read:

Example usage: 'No Ads', 'Double Coins'

And in the docs of CCNonConsumableItem:

Don't be confused... this is not a CCLifetimeVG. It's just a MANAGED item in Google Play or iTnes. This item will be retrieved when you "restoreTransactions". Soomla creates its own mechanisms to preserve CCLifetimeVGs for you.

So I'm little bit confused about which model should I use and also what are this Soomla own mechanisms to preserve the purchases.

Was it helpful?

Solution

CCLifetimeVG and CCNonConsumableItem play a similar part logically BUT CCLifetimeVG is handled by SOOMLA and enforced by the SOOMLA data model while CCNonConsumableItem is enforced by itunes/Google Play.

You can use both for the same purpose but only CCNonConsumableItem will be enforces by itunes/Google Play.

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