Friday, October 16, 2020

Local Network Privacy FAQ

Quinn:

I regularly get asked questions about local network privacy. This is my attempt to collect together the answers for the benefit of all. Before you delve into the details, familiarise yourself with the basics by watching WWDC 2020 Session 10110 Support local network privacy in your app.

Via Peter Steinberger:

Including gems such as: “Receiving an incoming UDP multicast or broadcast does not currently require local network access but, because we hope to change that in a future update, our advice right now is that you write your code as if did”

Update (2020-11-07): Rory Prior:

The local network security privacy stuff in iOS 14 is a complete cluster fuck. The only reliable documentation is in Apple’s help forums, basic features like checking if the user has actually accepted aren’t shipped yet.

Not all network activity actually triggers the alert even if its needed for said network activity to work properly. There’s no simple mechanism to actually trigger the alert, Apple’s sample code just spams every local network interface.

These problems only became apparent in the shipping release of iOS 14 for us causing a last minute panic to fix things. Rushing major OS updates out the door with half implemented breaking changes is incredibly hostile to developers.

2 Comments RSS · Twitter

Is this for iOS only? Local network UDP/multicast on macOS is still free for any app to use?

"[…]basic features like checking if the user has actually accepted aren’t shipped yet."

"There’s no simple mechanism to actually trigger the alert […]"

At least, it's consistent with FDA, SKEL and a lot of other Privacy settings: inconsistent and terrible user experience and a nightmare for 3rd party developers.

Leave a Comment