Thanks for the follow-up!
Yes, it’s definitely strange. We’ve also seen some cases where .internal (8) errors occur, but what stands out is that most of the reports are actually .userDenied (7), which is why it caught our attention.
Interestingly, I made a change in the code recently to use the ssidPrefix initializer when available:
var config = NEHotspotConfiguration(ssid: ssid, passphrase: passphrase, isWEP: false)
if #available(iOS 13.0, *) {
config = NEHotspotConfiguration(ssidPrefix: ssid, passphrase: passphrase, isWEP: false)
}
config.joinOnce = false
let timeStart = Date().stampSec
After this change, we’ve started seeing a noticeable increase in . (11) errors instead — which again, is hard to down.
As for your question: the .userDenied issue doesn’t seem to “stick.” Most users report that retrying the connection often works fine afterward. So it’s transient, but still confusing — especially when it gives the impression the user canceled something they didn’t.
Let me know if you’ve seen any similar behavior with . or ssidPrefix, and thanks again for all the insight!
Topic:
App & System Services
SubTopic:
Hardware
Tags: