I’m trying to impelent a test app, to get Corona Cloud working. This is my code in the main.lua
local coronaCloud = require ( "corona-cloud-core" ) local gameNetwork = require( "gameNetwork" ) local aKey = "4160343537a8fa66dd2a36301ea6bda0f81f367a"; local sKey = "526fa2edc0e79796ce38866298dee169357d4591"; coronaCloud.init( aKey, sKey ) local params = { accessKey = aKey, secretKey = sKey } gameNetwork.init( "corona", params ) gameNetwork.show( "leaderboards" );
On my Windows machine the console says that the gameNetowrk provider (corona) is not available on the simulator. No problem. So I make an Android build, where I get a popUp saying:
"Error This application has encountered a Lua error (see logs) or has been corrupted.
I’m using the latest public release 2013.1076. I have included the corona-cloud-core.lua file from github in the project folder. I can’t make it more simple. What am I doing wrong?