Closed gorkapernas closed 3 years ago
CNCopyCurrentNetworkInfo
used to fetch the current Wi-Fi SSID is deprecated in iOS 15.
Looking for possible workarounds.
More info:
https://developer.apple.com/documentation/systemconfiguration/1614126-cncopycurrentnetworkinfo
NEHotspotNetwork.fetchCurrent
is currently not working (on my end) on iOS 15.
A bug report has been submitted to Apple. More info here: https://developer.apple.com/forums/thread/670970?page=1#682297022
Tested on iPadOS 15 Beta 8. Issue is not fixed.
Tested on iPadOS 15 GM. Issue is not fixed.
Tested on iPadOS 15.1 Beta. Issue is not fixed.
Tested on iPadOS 15.1 Beta 4. Issue is not fixed.
@gorkapernas
I implemented the new API (using NEHotspotNetwork) for fetching WiFi SSID, for all devices running iOS 14+.
This way, when Apple fixes NEHotspotNetwork.fetchCurrent
API in one of the next iOS 15 versions, our iOS app will already support that fix.
For now, we can only test that the new API implemented here works OK on iOS 14 devices.
This is available in the latest TestFlight build.
Verified on version 2.5.0(16), iPad 6 iOS 14.6, the app is able to recognise the WIFI SSID after adding the VPN Profile.
Behaviour observed:
These points have been confirmed as expected.
Issue is FIXED on iOS 15.1 RC / public release.
@gorkapernas Let me know if you can confirm this on your end, using 2.5.0 (17) build.
@jurajhilje confirmed, the issue is fixed on the iOS release candidate 15.1 with the latest beta 2.5.0.
Description:
On iOS 15 Beta, IVPN 2.4.2 (2), when enabling Network Protection, the available WIFI networks are never recognized. The list of available networks is not shown and when opening the sliding panel in the main screen, the label "No network" is displayed.
@jurajhilje I'm not sure if this is an issue on our app, the problem does not happen iOS 14.
Steps to reproduce:
Environment:
OS: iOS 15 Device: iPhone XR IVPN version: 2.4.2 (2)