I tried to get SSID and BSSID from iphone running with IOS 15.1. it always return null, even my app has authorization to access precise location.
According to the document, from IOS 14. an APP can get SSID and BSSID of the current Wi-Fi network when it meets one of following 4 requirements:
application is using CoreLocation API and has user's authorization to access precise location.
application has used NEHotspotConfiguration API to configure the current Wi-Fi network.
application has active VPN configurations installed.
application has active NEDNSSettingsManager configuration installed.
In my case, I have the authorization to access precise location, but still I can't get SSID and BSSID. Please advise.