Does the new iOS 14's Local Network privacy prompt appear when a UDP connection is established using CFSocket?
I have not seen it in my tests with the app built with iOS 13 & 14 SDK. How should I proceed to trigger the prompt in this case?
I have not seen it in my tests with the app built with iOS 13 & 14 SDK. How should I proceed to trigger the prompt in this case?
The current state of affairs is that BSD Sockets code that listens on a UDP socket for traffic on the local network but never sends anything will not trigger the local network privacy alert. This is clearly suboptimal and we’re looking at ways to improve it. In the meantime you can work around the problem by sending some dummy data. The exact data you send doesn’t matter so I generally just send something from the UDP socket that I’m using to do the listen.
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@apple.com"
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@apple.com"