Unity3d ConnectionProblem
Posted: 04 Jan 2017, 14:33
Hi ,
In my mobile application When I am connecting to smartfox I use the same code with the spacewar example. Which is available on your site. I have been getting complaints that they can not connect to smartfox. If I am not connected with wifi and usually when phone is old I get same error too. After the sfs.Connect(cfg) line onConnection event doesnt come. I go to applications setting and clean app data then it connects again. Is it possible that something stucks in SmartFox object in the static variable or something. it usually connects under 3 seconds but sometimes doesnt. I have samsung note5 I try 100 times it connects every time I try with samsung J5 if I try over and over about third time I get same problem(not wi-fi). I connect and quit application repeat this couple of times then it stucks. after sfs.Connect(cfg) line called. When it stuck it doesnt connect to my game I try connecting different games it connects without problem. is there a configuration on smartfox. It calles sfs.Connect(cfg) onConnect event doesnt happen but if I wait abount couple of minutes later it connects. it timesout and reconnects . and reconnect is like instant.
it is android app on google play
Thanks....
In my mobile application When I am connecting to smartfox I use the same code with the spacewar example. Which is available on your site. I have been getting complaints that they can not connect to smartfox. If I am not connected with wifi and usually when phone is old I get same error too. After the sfs.Connect(cfg) line onConnection event doesnt come. I go to applications setting and clean app data then it connects again. Is it possible that something stucks in SmartFox object in the static variable or something. it usually connects under 3 seconds but sometimes doesnt. I have samsung note5 I try 100 times it connects every time I try with samsung J5 if I try over and over about third time I get same problem(not wi-fi). I connect and quit application repeat this couple of times then it stucks. after sfs.Connect(cfg) line called. When it stuck it doesnt connect to my game I try connecting different games it connects without problem. is there a configuration on smartfox. It calles sfs.Connect(cfg) onConnect event doesnt happen but if I wait abount couple of minutes later it connects. it timesout and reconnects . and reconnect is like instant.
it is android app on google play
Thanks....