Goal : Block all outbound connections to a static list of hosts (both In-app requests and WKWebView/Safari).
App & both extensions have Network Extension entitlement with content-filter-provider and filter-control-provider
What’s working: Safari and WKWebView requests matching the block list are dropped.
What’s broken: In-app traffic never reaches the Data Provider—those requests always succeed.
Setup: • NEFilterProviderConfiguration with both Data & Control providers, filterBrowsers = true, filterSockets = true • Data Provider implements handleNewFlow for socket/browser flows • Control Provider implements handleNewFlow for browser flows • Enabled via saveToPreferences() and toggled ON in Settings
OK. But let’s continue this conversation on your other thread, where there’s a bit more context.
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"