Handling IAP unlock on android

Hi, I come from Obj-C and iOS development.

For my apps, I would always just check a permanent BOOL flag ([NSUserDefaults standardUserDefaults]) for whether or not the app was unlocked. If it wasn’t unlocked, I’d gray out my levels and prompt the purchase if they selected it. If it was unlocked, then I just implemented my buttons as normal.

How do I do this with Android / Corona? Is there a better/easier way to know if the user has already unlocked this app before?

Thanks [import]uid: 31506 topic_id: 36445 reply_id: 336445[/import]

After a bit of searching I actually found a simple way to save tables:

https://github.com/robmiracle/Simple-Table-Load-Save-Functions-for-Corona-SDK

I think I can use this to simply store this BOOL. Thanks [import]uid: 31506 topic_id: 36445 reply_id: 144663[/import]

After a bit of searching I actually found a simple way to save tables:

https://github.com/robmiracle/Simple-Table-Load-Save-Functions-for-Corona-SDK

I think I can use this to simply store this BOOL. Thanks [import]uid: 31506 topic_id: 36445 reply_id: 144663[/import]

After a bit of searching I actually found a simple way to save tables:

https://github.com/robmiracle/Simple-Table-Load-Save-Functions-for-Corona-SDK

I think I can use this to simply store this BOOL. Thanks [import]uid: 31506 topic_id: 36445 reply_id: 144663[/import]

After a bit of searching I actually found a simple way to save tables:

https://github.com/robmiracle/Simple-Table-Load-Save-Functions-for-Corona-SDK

I think I can use this to simply store this BOOL. Thanks [import]uid: 31506 topic_id: 36445 reply_id: 144663[/import]