Hi,
I simply put the codes below in main.lua, but it wont work, the print never runs. i have replaced CC_Access_Key and CC_Secret_Key with mine keys, and put cloud.lua in the project root folder. anyone can run this successfully?
local json = require ( “json” )
local cloud = require (“cloud”)
local function authListener( event )
print( ‘test’ )
end
cloud.init( ‘CC_Access_Key’, ‘CC_Secret_Key’, authListener)