Re:Reddit experiments on users, forcing them to install app ...
by borbulon on Monday June 12, 2023 @08:11AM
(#36292193)
Let's not forget that the in-app browser page can be injected with whatever javascript the owner of the app wants. FB/Instagram use this for tracking. There is a more comprehensive list of what apps do this somewhere; I do not remember where it is. But for FB/Meta, you can find the info here: https://krausefx.com/blog/ios-privacy-instagram-and-facebook...
[ Parent
| on HN ]
Re:Reddit experiments on users, forcing them to install app ...
by kitsunesoba on Monday June 12, 2023 @09:07AM
(#36292819)
Worth pointing out that not all in-app browsers are created equal, however. A huge number of apps, probably the majority, on iOS use SFSafariViewController for theirs, which is basically an isolated Safari tab that runs out of process and app developers have no access to. Furthermore, SFSafariViewController instances are unique per-app, each with their own separate set of cookies so apps can’t trick you into visiting a link to gain access to full Safari’s cookies.
IIRC Android has something similar that opens an isolated Chrome tab within apps but I have no idea how common usage of that is in Android apps.
Re:Reddit experiments on users, forcing them to install app ...
by danaris on Monday June 12, 2023 @09:26AM
(#36293059)
The question is, is there any way for the user to tell the difference just by looking? Or is that something you have to be able to examine the binary to be able to determine?
Re:Reddit experiments on users, forcing them to install app ...
by tuukkah on Monday June 12, 2023 @09:35AM
(#36293182)
On Android, when you have the WebView open, go to the app switcher and the title will tell you which app provides the view: the original app, or your browser.
Re:Reddit experiments on users, forcing them to install app ...
by antgiant on Monday June 12, 2023 @09:30AM
(#36293110)
Yes, the one that is “clean” has the open in Safari icon. However, as soon as that becomes common knowledge I’m guessing the malicious apps will be adding that icon
Re:Reddit experiments on users, forcing them to install app ...
by Aulig on Monday June 12, 2023 @09:50AM
(#36293396)
They look significantly different on both platforms, so it's easy to notice if you know how ewch one looks
Re:Reddit experiments on users, forcing them to install app ...
by ascagnel_ on Monday June 12, 2023 @09:56AM
(#36293488)
You are correct; however, in the case of some of the biggest apps (Reddit's official app among them), they use the old WKWebView specifically for the ability to inject code. The more user-centric third-party apps that Twitter/Reddit have targeted lately used SFSafariViewController.
Re:Reddit experiments on users, forcing them to install app ...
by fennecfoxy on Monday June 12, 2023 @12:31PM
(#36296224)
Can't always do that, though. Apple gets especially angy if you're injecting necessary stuff into the page, we found as a general rule they'll fail your app approval for anything like that (unless you're a big boi like FB I guess).