onLogin not getting called

Post here all your questions related with the SmartFoxServer iPhone API

Moderators: Lapo, Bax

Marcelo Emmerich
Posts: 2
Joined: 09 May 2010, 12:41
Location: Germany
Contact:

onLogin not getting called

Postby Marcelo Emmerich » 01 Jul 2010, 14:12

Hi Guys,

after the call to

Code: Select all

[smartFox login:smartFox.defaultZone name:login pass:sid];


I can see the following in the debug output:


Code: Select all

INFSmartFoxExtHandler:handleMessage msgObj:<msg t='xt'><body action='xtRes' r='-1'><![CDATA[<dataObj><var n='uid' t='n'>9</var><var n='_cmd' t='s'>logOK</var></dataObj>]]></body></msg>


However, the onLogin callback never gets called. I have setup everything exactly as in the demo projects. As an example, the onConnection method gets called without problems. Any idea? Any help will be highly appreciated.

Thanks,

Marcelo
Marcelo Emmerich
http://www.em-motion.mobi

Return to “iPhone Objective-C API”

Who is online

Users browsing this forum: No registered users and 7 guests