Error On Gamenetwork.init

Hi,

 

I’m trying to test gameNetwork.ini API, using corona as provider.

 

 

local gameNetwork = require “gameNetwork”

gameNetwork.init(“corona”,“MY ACCESS KEY”,“MY SECRET KEY”)

 

I’ve found it is not working on my device, console shows below.  

 

 
Mar 21 13:05:08 jwjang-ui-iPhone coronaCloud[2145] : Runtime error

    ERROR: Could not load provider (corona) due to the following reason: module ‘cloud_imagesheet_2x’ not found:resource (cloud_imagesheet_2x.lu) does not exist in archive

        no field package.preload[‘cloud_imagesheet_2x’]

        no file ‘/var/mobile/Applications/31E1206B-527E-4E06-BAF5-417CB28B5F05/coronaCloud.app/cloud_imagesheet_2x.lua’

        no file ‘/var/mobile/Applications/31E1206B-527E-4E06-BAF5-417CB28B5F05/coronaCloud.app/cloud_imagesheet_2x.lua’

        no file ‘./cloud_imagesheet_2x.so’

        no file '/var/mobile/Applications/31E1206B-527E-4E06-BAF5-417CB28B5F05/coronaCloud.app/cloud_imagesheet_2x.so’cloud_imagesheet_2x.

    stack traceback:

        [C]: ?

        [C]: in function ‘assert’

        ?: in function ‘requireProvider’

        ?: in function ‘setCurrentProvider’

        …in/plugins/gameNetwork/ios/…/shared/gameNetwork.lua:18: in function ‘init’

        …sers/jangjun-u/NetBeansProjects/coronaCloud/main.lua:2: in main chunk

 

is this feature not live yet?

 

 

If you look in the sample app:   SampleCode/CoronaCloud/GameNetwork, you will find a folder called  

cloud_assets/

Copy that folder to your project and that should address the errors you’re seeing.   That code is still being tuned a bit and it’s our long term plan to produce a guide so you can brand the UI for yourself, which is why the external resources are there.

Thanks, Rob! You just solved several of my issues by letting me know about the “secret” new Cloud folder in the sample code! 

If you look in the sample app:   SampleCode/CoronaCloud/GameNetwork, you will find a folder called  

cloud_assets/

Copy that folder to your project and that should address the errors you’re seeing.   That code is still being tuned a bit and it’s our long term plan to produce a guide so you can brand the UI for yourself, which is why the external resources are there.

Thanks, Rob! You just solved several of my issues by letting me know about the “secret” new Cloud folder in the sample code!