Hello,
I want to determine whether the device running my app is connected to the internet via Wi-Fi or data carrier. The crucial point is that I want to distinguish between Wi-Fi and data carrier. The Application.internetReachability variable seemed to be just what I want. Unfortunately it doesn’t register any changes after the application’s initial startup. I testet this on an Android device, started the application while being connected via Wi-Fi and got the correct value. Then I disabled Wi-Fi and checked again but the value did not change. Can somebody confirm this? Is it a (known) Unity bug?
I do not see any other way to check which kind of network connection exists. I do not want to check for general internet availability but rather distinguish between Wi-Fi and data.
Any help would be much appreciated.
EDITED: Tried to make it clearer, what my goal was and optimized the title.