Unlockables With IAP

Hi all,

I am trying to unlock content using In-app purchases. I have the in-app purchase setup and it is working fine. The problem i’m having is unlocking the content with the in-app purchase and keeping it unlocked when the user leaves the scene and comes back. Anyone have any good tutorials or advice?

Thanks

Anyone?

Hello there,

I think you’re going to have implement some sort of save functionality in your app, to save the fact that you’ve unlocked something.  So you can check later on if it was already unlocked.  I’m sure you can find many examples on how to save stuff in Corona, like the score for example, only for this case you’d be saving the status of your unlocks instead.

Anyone?

Hello there,

I think you’re going to have implement some sort of save functionality in your app, to save the fact that you’ve unlocked something.  So you can check later on if it was already unlocked.  I’m sure you can find many examples on how to save stuff in Corona, like the score for example, only for this case you’d be saving the status of your unlocks instead.