NEHotspotConfigurations are supposed to annotate configured SSIDs with the app name in Settings, but don't
Originator: | brandon | ||
Number: | rdar://38036088 | Date Originated: | 2018/03/01 |
Status: | Resolved | Resolved: | 2018/03/06 |
Product: | Network Extensions Framework | Product Version: | 11.2.6 |
Classification: | Bug | Reproducible: | Always |
Area: Network Extensions Framework Summary: https://developer.apple.com/documentation/networkextension/nehotspotconfigurationmanager/2866695-getconfiguredssids "The user can see name of your app in Settings > Wi-Fi when the networks it has configured are listed." I'm assuming that this means that the list of SSIDs in Settings > WiFi will be annotated (like a subtitle of the cell) in the same way that it would be when using the NEHotspotHelper API. If that's the case, I'm not observing that. Steps to Reproduce: I've attached a sample project, but the relevant bit of code is: ``` let configuration = NEHotspotConfiguration(ssid: "a nearby SSID", passphrase: "the correct passphrase", isWEP: false) NEHotspotConfigurationManager.shared.apply(configuration) { possibleError in if let error = possibleError { print(error) } else { print("Added configuration") } } ``` With the Hotspot Configuration capability enabled, the configuration will be applied shortly after app launch and user approval. The SSID in Settings > WiFi is not annotated, though. The project I'm working on is actually using an SSID and EAP configuration to configure the network, but the differences in code contain a bunch of secrets specific to the network we're using that I can't share. That project's network configuration is correctly being applied and otherwise works, other than this issue. Expected Results: App display name is a subtitle of the configured SSID in the list of available WiFi networks Actual Results: No subtitle is shown Version/Build: 11.2.6 (15D100) Configuration:
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!
Apple Developer Relations
We believe that this issue has been resolved through updates to the documentation.
https://developer.apple.com/documentation/networkextension/nehotspotconfigurationmanager/2866695-getconfiguredssids
Please let us know whether the issue is resolved for you by updating your bug report.