Need to call ouya_plugin.initialize() first or the first call to any of the ouya_plugin callbacks fails silently

So far, everything is working fine with the waits added as you suggest.  May be worth adding something to the docs about adding a delay if calling these functions on app launch.

Sure thing. Glad to know it works!

The behavior has mysteriously returned after publishing the app to OUYA, even with the delays.  I am going to have to publish another version that times out if the callback isn’t called in some amount of time.

I’ve made an update to the way the Corona OUYA Plugin initializes. Now you’ll get an onSuccess or onFailure callback.

https://github.com/ouya/ouya-sdk-examples/blob/master/Corona/Submission/ouya/samples/InAppPurchasesPlugin/Corona/plugin_ouya.lua

Here’s the main.lua and how the plugin is being initialized:

https://github.com/ouya/ouya-sdk-examples/blob/master/Corona/Submission/ouya/samples/InAppPurchasesPlugin/Corona/main.lua

Thanks, Tim.  I haven’t looked at this in a while, but I am excited to try out the changes you made.  I will let you know how it goes.

I’ve made an update to the way the Corona OUYA Plugin initializes. Now you’ll get an onSuccess or onFailure callback.

https://github.com/ouya/ouya-sdk-examples/blob/master/Corona/Submission/ouya/samples/InAppPurchasesPlugin/Corona/plugin_ouya.lua

Here’s the main.lua and how the plugin is being initialized:

https://github.com/ouya/ouya-sdk-examples/blob/master/Corona/Submission/ouya/samples/InAppPurchasesPlugin/Corona/main.lua

Thanks, Tim.  I haven’t looked at this in a while, but I am excited to try out the changes you made.  I will let you know how it goes.