3 ms·
I hope they have a very good story around patches and updates... Web browsers need patching pretty much every week, and having every app developer needing to r
by londons_explore 7y ago
I hope they have a very good story around patches and updates...
Web browsers need patching pretty much every week, and having every app developer needing to re-release their app every time isn't practical. The alternative is a world where my phone can be compromised because an ad rendered in an app using a 3 week old build of gecko had a browser exploit in.
- tehlike 7y agoThis. Webview is a separate app on Android phones for quite a while now(and also I think chrome mobile is another/newer webview provider), which allows for much faster updates. As much as app developers hate not knowing what version of library is actually running in their apps, it is a net win for the user.
- folli 7y agoI didn't know about using chrome mobile as webview provider. What are the dis-/advantages of using it? Any experience?
- matharmin 7y agoAdvantage is that most of the time, you have a fairly new browser engine available for your app, that is not tied to the OS version (especially important on Android). Also doesn't require embedding an 50MB engine (Crosswalk) in your app. Disadvantage is that as an app developer you're not guaranteed to have any specific version available. Some devices never upgrade the pre-installed version automatically. The user is also able to switch between the Chrome webview and an OS webview on some devices (in developer settings, so it's not common). You can add checks in your app and direct the user to the update links, but requires quite a bit of work to do well.
- kalleboo 7y agoI'm curious, does the Android WebView also sandbox the browser process separately from the app's data like WKWebView does on iOS? If it does and GeckoView doesn't, that would be quite a big downside.
- blinkingled 7y agoAndroid WebView does sandbox the browser and renderer processes since Oreo - https://android-developers.googleblog.com/2017/06/whats-new-in-webview-security.html?m=1 https://android-developers.googleblog.com/2017/06/whats-new-... There is no reason Mozilla could not do that with GeckoView.
- NikolaeVarius 7y agoBut I like the fact that webkit exploit have enabled jailbreaking locked down hardware Only mostly sarcastic.
- skratlo 7y agoCompletely irrelevant, you're missing the use case. When you're using embedded web renderer, the point is that you are in control of the content, hence there's 0 security concern. If you don't control the content, then you're not secure with either WebView nor GeckoView.