Getting data from parse.com is not working on real device , but working on emulator

Hello , This is my first time writting to corona forum.

I am very excited to see the expecting answer from this forum.

Currently i am making an app connecting with parse.com.

At the main.lua , i am getting data from parse. and it’s all working well in android (simulator, device)

ios(simulator)

But particularly it’s not getting data from parse.com(i don’t think it’s networking problem, it’s working well with other apps,and also not certification problem i think)

Please solve this problem out.  :slight_smile:

main.lua

local function onGetObjects( event )

   

  print(event.response.results)

  if not event.status then

      print(“download table success”)

      table_round = event.results    

      --print_r(table_round[1])

      composer.gotoScene(“scenes.menu_premium”,options)  

  else

      print(“download table failed”)

  end

end

local queryTable = {} 

parse:getObjects(“RoundData”, queryTable, onGetObjects )

I can’t help you but some good Parse/Lua stuff here - http://www.develephant.net/a-parse-com-module-for-corona-sdk/

Dave

I can’t help you but some good Parse/Lua stuff here - http://www.develephant.net/a-parse-com-module-for-corona-sdk/

Dave