Forcing WiFi connection programmatically on iOs with Unity

I have an application that is used on a specific situation :

  • The application is run on an iPad mini 4 using iOS 9.
  • Before the application startup the iPad mini is connected to a WiFi network.
  • When using the application the user will move, and will therefore lose the WiFi signal and be disconnected.
  • If the user returns near the WiFi router after losing the signal for more than ~30 minutes, it does not reconnect directly to the WiFi network (connecting to the network usually takes up to another 30 minutes). That is not the desired behaviour, and I would like for my application to make the iPad reconnect instantly to the same WiFi network (maybe with a function call).
  • If the user returns near the WiFi router after losing the signal for less than ~30 minutes, the iPad will actually reconnect on its own while the application is runnning.

Is there a way to reconnect programmatically to a known WiFi network using Unity function ?

NB : If the user minimize the application when near the router, it will reconnect to the WiFi network, as expected.
NB2 : UIRequiresPersistentWiFi is set to true.

1 Like

It’s not much use, but I too am having the same issue, but with android devices.

I’d love an answer too. :slight_smile:

1 Like

+1 Alos bumping into this one… Ever have any luck?