now.ready() and now.on('connect', function(){}) keep firing?

49 views
Skip to first unread message

Liang Qiao

unread,
Jul 2, 2012, 4:59:39 AM7/2/12
to no...@googlegroups.com
Hi all,

As mentioned. I am running a titanium mobile app in iOS simulator.

Once I launched the app, now.ready()---client side and now.on('connect', fund) ---server -side just keep firing. 

But no disconnect event was trigger during the time. After closing the app, I can see from server log, that the previous connection started to close one by one.

Any idea why is this happening?

Thanks a lot 

Regards,
Qiao Liang

Liang Qiao

unread,
Jul 2, 2012, 5:46:57 AM7/2/12
to no...@googlegroups.com
The weird thing is that if I keep sending messages, this won't happen. But once it got idle for a few seconds, new connection would be fired...

Ian Serlin

unread,
Jul 6, 2012, 1:37:00 PM7/6/12
to no...@googlegroups.com
That's really bizarre, can you post your client-side now.ready code?
Reply all
Reply to author
Forward
0 new messages