26 points · by wtaf-people · 4y ago · 18 comments
There seems to be a consensus that this is impossible. There’s nothing about this on the entire internet. I could not believe it when I saw it, but it’s plain as day. When I asked Apple support for clarification, even the rep was under the impression that Apple would never allow this, until I sent a screenshot. I still cannot believe I’m the one pointing this out. WTF?
https://apps.apple.com/story/id1539235847
“Browsing history Information about the content you have viewed that is not part of the app, such as websites“
This is in hundreds of iOS apps, such as PayPal. Welcome to the future, I guess.
Edit: Apple Support was unable to get to the bottom of this so I appreciate any info
Edit: Apologies for the dramatic title, I should have made this an ask.
Either way, Apple really should have thought this through more when writing the description.
It is written vaguely and should be re-written to be precise, but as they are going for "end user" language here I can understand that it is hard to communicate to non-technical users that "embedded browser" and "browser" are different things given that they have similar UX and similar functionality.
A common use case of an embedded webview is an app that uses a website for some portion of a user flow, IME this is typically when there is a B2B2C business relationship. I think it can also happen for an OAuth2 integration but I'd expect there are some iOS native SDKs that are preferred. IME, many businesses use "web SDKs" instead of native libraries, and their integration guide will say something like "have your app open a webview to URL X, then user does Y as we have agreed, then we will close the webview" (occasionally, a few will use hooks in the webview to communicate result information to the native app).
Also calling webview “outside the app” is a bit of a stretch
This category exists for apps that embed a webview.
Safari is sandboxed. There is no way to get to its data like history.
Safari supports extensions, extension are deployed as apps. It goes without saying that a browser extension can see what pages you visit (and so build up your browsing history).
It's also not "any app", this is where the App Store does its thing: to be able to do certain actions (like connecting to safari) the binary has to be provisioned with the correct sandbox entitlement - this is enforced by the code signing logic built into the kernel: the set of entitlements is part of the signed data, so any entitlements an app tries to get have to be approved (and so signed) by the App Store.
Except it literally doesn’t say that literally
Think about the fact that if you are wrong, it would say exactly what it says, and (as seen in this thread) everyone will assume it means webview
It can very obviously record your browsing history in that app. If it sends that data to its home servers, then the app would have to declare that it collected "browsing history".
"Information about the content you have viewed that is not part of the app, such as websites."
that is it can record things other than you interacting with buttons in the app, or what type of music you're listening to, etc. Browsing history gets called at explicitly here because people using non-chrome browsers expect browsing history to be private.
Nope, its extensions :)
Just using a WebView doesn't give you any safari data, and if you're using a UISafariView or whatever its called I think its basically an opaque view with limited accessible data (and the view itself is running in another process)
Also: some apps include webviews. It makes sense that those would be able to see what you do inside those webviews. Is it possible it's just using broad language to describe this case?
Also has anyone ever had the OS ask for permission on this?