DEV Community 👩‍💻👨‍💻

Discussion on: The Modern Hybrid App Developer

arasrezaei profile image

Hi max, ionic is great, but has a big problem,
There is no particular webview with it! Thus we can see a lot of different results from different phones!
Some people never update their webview, and some even don't have standard webview, like custom rooms in android or whatever... I think making a fix custom webview tuned for capacitor really changes the game and there, we have more accessibility to our custom webview and can to more stuff! Another option could be this by having a minimum webview plugin and if has new system webview, switch to it!

dotnetkow profile image
Matt Netkow

Fortunately, I think the "different results from different phones" issue you mention is mostly in the past. Most iPhone users update to the latest version of iOS very quickly, and while that's definitely more of an issue on Android, changes that have been around for years now have helped. For example, the web browsers/webview are decoupled from the Android version, so users can update those without having to update their Android version.

With Capacitor, we purposely use the stock WebView from the system, which is easier to maintain and are the ones that get updated/maintained by vendors regularly. Most users use these without even knowing. As for custom ROMs - well, that's just a very tiny slice of the market and if you customize beyond what is standard, you're risking issues across the board, not just with WebViews.

For reference, Capacitor's dependencies are here.