For Local network access, Chrome prompts the user to allow access and adds it to Settings --> Privacy & Security --> Local Network. However, for Safari, no prompt appears. How do I force Safari to authorise these local network access requests if it won't trigger the permission dialogue? Is there a specific WKWebView configuration or Safari-specific header required to satisfy this security check?
Local network request blocked in Safari but working in Chrome
For general background on this, see TN3179 Understanding local network privacy.
As to your specific scenario:
- What platform are you on? While the local network privacy implementation is very similar on macOS and iOS, there are important differences.
- As you concerned about Safari? Or about a web view running in your app? That difference is important because a web view running in your app is considered to be your app from the perspective of local network privacy.
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"