• Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by Mythique · Dec 08, 2016 at 12:30 PM · iosnetworkipad mini

Forcing WiFi connection programmatically on iOs with Unity

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

  • The application is ran 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.

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

0 Replies

· Add your reply
  • Sort: 

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Welcome to Unity Answers

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



Follow this Question

Answers Answers and Comments

4 People are following this question.

avatar image avatar image avatar image avatar image

Related Questions

UDPSend not working with iPad over LAN 0 Answers

Networking - Best way to Sync Rigidbodies? 2 Answers

Alternate Connection Options 2 Answers

ios Crash SetStatusCode() 0 Answers

[Network] Damage Not receive ? 1 Answer

  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges