by concinds · 2y ago · 0 comments
- you can't uninstall Safari. The DMA clearly requires Apple to allow uninstalling it.
- the Share Sheet for in-app webview privileges Safari (Safari-specific "Add to Reading List", "Add Bookmark" at the top) regardless of default browser.
- apps with in-app webviews can roll out a custom engine, but otherwise it uses WebKit regardless of default browser. It should obviously use the webview facility provided by the default browser, if it offers one.
- confusing to change defaults. There's no central "Default Apps" screen in Settings. You have to go in the Settings app, scroll way down to a given browser, and then you can change the default. So the default browser setting is weirdly treated as an app-specific setting rather than a system setting.
- If Safari is not the default, you can change your default browser within "Settings.app >> Safari". If Safari is the default, you can't change your default browser there at all. Whereas the default browser selection menu will always be shown in the Settings.app submenu of third-party browsers.
Android doesn't do that either. You get Android System WebView which is always WebKit/Blink.
Windows didn't provide any browser engines apart from Trident through mshtml.dll either.
It would make iOS development harder - instead of getting a web view working just for WKWebView, you would need to get it working for every WebView out there. Given that they are not full browsers, it's not as simple as following web standards/caniuse. For example, service worker support in in-app browsers is limited.
If this actually gets implemented, every app out there will most likely pin the in-app browser engine to WKWebView OR bundle a binary blob with their own browser engine directly into .ipa. Bundled browser engine in .ipa has privacy implications - the app will be able to fully read secure HTTPS cookies of the sites that user visits - something that's currently protected.
Not if the application uses Custom Tabs to start a web browsing activity.
https://developer.chrome.com/docs/android/custom-tabs/
Firefox fully supports this and if you set it as a default browser you will many apps open content in a Firefox powered webview. (Activity)
Apple can do the same. Not trivial but definitely possible.
This is great because the Firefox webview allows to break it out in to a proper Firefox tab in the app. Also, the Firefox webview also uses extensions installed in Firefox app, e.g. uBlock Origin.
This has massive potential to break an unbelievable number of things, first-party and third-party alike. WebKit is used in all sorts of places people wouldn’t expect, for example at one point UILabel (the native control responsible for displaying non-scrolling text and labels) used WebKit under the hood for rendering attributed strings.
You say that but many sites essentially only support Chrome (and Edge by extension). If you install Firefox, or keep Safari, and the external sites just continues to assume everyone downloads Chrome you get nice broken web views. Or if a user changes the default browser (and thus web view engine) after the fact.
Yes, but they shouldn’t, and it’s not that difficult, so I have no sympathy. It’s also not that many.