Wifi problem with Iphone

Hey Dudes,

I’m with a big iphone problem …i did an application than connect to pc, but taht app need to stay connected for a minimum 1h and when 30 minutes pass Wifi fall.

Somebody have an idea ?

Cheers

did the application go to sleep?
if so then you must prevent that cause in that case the wifi is terminated automatically by the os.

Application disconnect Wifi and call OnDisconnect , that don’t happen if
iphone is plugged on energy .And i only can connect again if i shut down app
and turn on again.

Thanks for help !

Cheers

Do you talk about unity networking?
Cause normal networking has no ondisconnect

if you talk about unitynetworking, then did you attempt to close the connection and open it again?

I’m using Network and networkview component and after 30 minutes connection automatically close the connection.

I tried connect again when OnDisconnect happen but that don’t worked.

The documentation said then we have a bottleneck with a hight performance of wifi but i have no sure than how i can solve that.

Cheers

Solved!!!

I found an persistent wifi in player settings !!!

Thanks dudes!