2 ms·
iOS apps can register foobar:// hooks. If a site redirects to a URI with a custom protocol, it'll wake up the app that's tied to it. (I'm not sure how they're
by damncabbage 15y ago
iOS apps can register foobar:// hooks. If a site redirects to a URI with a custom protocol, it'll wake up the app that's tied to it.
(I'm not sure how they're detecting whether that hook is registered or not, though.)
- chc 15y agoIt looks like they basically ask whether you want to use the site or the app the first time you visit on a device, and if you choose the app, it sends you to the App Store and sets a localstorage setting that triggers a redirect on subsequent visits. (Edit: OK, it's a little bit more sophisticated than that. But I think that's not too far off.)