Problem with "createRoom" in Play Game Services

Hi,

I use gameNetwork.google and I’m correctly login but when i want to create a room my listener doesn’t respond.

My code :

local function requestCallbackCreateRoom( event )

   print( event.data.roomID )  --ID of the room that was created

end

if gameNetwork.request( “isConnected” ) then

print(“ok”)

gameNetwork.request( “createRoom”,

   {

       playerIDs =  --array of players to invite

       {

           myPlayerID,

           playerIDlist[event.target.id].id

       },

       maxAutoMatchPlayers = 2,     --optional, defaults to 0

       minAutoMatchPlayers = 2,     --optional, defaults to 0

       listener = requestCallbackCreateRoom

   }

)

end

I’ve tried with IDs directly in code and many different builds… it’s the same.

Any ideas plz ?

Best regards,

Gis

I’ve publish the game and it’s alway the same.

If you are looking for a working code example of the Corona Google Play Game Services plugin, check out the test app I open sourced:

http://animonger.com/gpgstester/

I’ve publish the game and it’s alway the same.

If you are looking for a working code example of the Corona Google Play Game Services plugin, check out the test app I open sourced:

http://animonger.com/gpgstester/