Will Private Relay impact on iOS App also

Hi, I have read the document private relay apply only for safari browser. if I am using http call in my app then private relay will apply or not.

Thanks,

Replies

if I am using http call in my app then private relay will apply or not.

Private Relay will apply to insecure HTTP based traffic in your app if you have Private Relay enabled and you have an iCloud+ subscription. Secure HTTPS traffic in your app will not use Private Relay.

Matt Eaton
DTS Engineering, CoreOS
meaton3@apple.com

What about web views? WKWebView? SFSafariViewController?

What about web views? WKWebView? SFSafariViewController?

To my understanding, Private Relay does not decide what type of traffic it will claim by API, but rather if it's insecure HTTP traffic. So to answer your question, WKWebView and SFSafariViewController would still be eligible to be claimed by Private Relay if the service was enabled. If you see otherwise, please let me know.

Matt Eaton
DTS Engineering, CoreOS
meaton3@apple.com
  • Thanks for the reply, Matt!

    What about HTTPS traffic from WKWebView/SFSafariViewController? I would imagine that SFSafariViewController, at least, could be considered “Safari” rather than part of the app.

    Also, what is the reason for applying iCloud Private Relay only to insecure HTTP traffic from apps? Why not all traffic?

Add a Comment

Note that the document for Prepare Your Network for iCloud Private Relay has now been released.

Matt Eaton
DTS Engineering, CoreOS
meaton3@apple.com

I can confirm that http requests in my app are not working when private relay is on. Sometimes it's not possible to use https connections, especially with third party services. It's crazy(in a bad way) how this feature in iCloud+ affects everything else. There should be at least option for the user, to turn this feature off for specific apps.

  • I forgot to add that widgets are not affected.

Add a Comment

@fumoboy007

I would imagine that SFSafariViewController, at least, could be considered “Safari” rather than part of the app. What about HTTPS traffic from WKWebView/SFSafariViewController?

Yes, that is correct. To protect web browsing, Private Relay applies to all connections in Safari, including if your app uses SFSafariViewController to show web content.

If your app traffic is using an insecure TCP connection, no matter if it's port 80 or another port, and it's not using TLS, then this traffic can be protected by Private Relay.

Matt Eaton
DTS Engineering, CoreOS
meaton3@apple.com