My (Unity) app complains that the my iPod does not have network connectivity while the device has full wi-fi connectivity (as evidenced by every other app, including Safari).
This isn't just one API point - all of them (Facebook, StoreKit, etc) claim that the network is not available.
This message is periodically sent to the console from my app:
<Error>: Could not successfully update network info during initialization.
which may (I think) be coming from CoreTelephony.
Any idea what is causing this? I get it in debug and adhoc builds. I do not have any Restrictions (from Settings) active on the device.
The device is iOS 6 and the base sdk is iOS 5.
Try restarting your iOS or iPadOS device. Here's how to restart your iPhone, iPad, or iPod touch. Then restart your router, and cable or DSL modem. To restart your router or modem, unplug it, then plug it back in.
Make sure Local Network Access is enabledOn your iOS device's home screen (iOS 14 or later), tap Settings. Local Network. You'll find a list of apps. Turn on Local Network Access for the app(s) you would like to allow access to your network.
Launch the Settings app. From the Settings list, tap Privacy. Tap Local Network. The next screen will display the apps that have requested permission to find and communicate on your local network.
The "Could not successfully update network info during initialization." log is shown every time you initialize the CTTelephonyNetworkInfo in a device without SIM card, (iPod touch or iPad without 3G).
If it's very annoying, you can just initialize it once and do your network checks against that instance.
Check the developer tools to check if you have accidentally turned on 100% loss internet. It should be in the debug menu.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With