You might have received an email from Apple regarding the changes in iOS 13 related to CNCopyCurrentNetworkInfo API.
You received an email similar to this:
As we announced at WWDC19, we're making changes to further protect user privacy and prevent unauthorized location tracking. Starting with iOS 13, the CNCopyCurrentNetworkInfo API will no longer return valid Wi-Fi SSID and BSSID information. Instead, the information returned by default will be:
SSID: “Wi-Fi” or “WLAN” (“WLAN" will be returned for the China SKU)
If your app is using this API, we encourage you to adopt alternative approaches that don’t require Wi-Fi or network information. Valid SSID and BSSID information from CNCopyCurrentNetworkInfo will still be provided to VPN apps, apps that have used NEHotspotConfiguration to configure the current Wi-Fi network, and apps that have obtained permission to access user location through Location Services.
Test your app on the latest iOS 13 beta to make sure it works properly. If your app requires valid Wi-Fi SSID and BSSID information to function, you can do the following:
* For accessory setup apps, use the NEHotSpotConfiguration API, which now has the option to pass a prefix of the SSID hotspot your app expects to connect to.
* For other types of apps, use the CoreLocation API to request the user’s consent to access location information.
Learn more by reading the developer.apple.com/documentation/systemconfiguration/1614126-cncopycurrentnetworkinfo or viewing the developer.apple.com/videos/play/wwdc2019/712/ session video from WWDC19. You can also contact developer.apple.com/support/technical/ for code-level support.
Apple Developer Relations
Please note that our Engineering Team is already aware of this communication and this should not impact your apps in any way.