We could consider loading the web content with WebViewAssetLoader
as an alternative to the file:
protocol.
I tried to implement this in a webview plugin and it worked quite good. Further testing needs to be done.
See ionic-team/cordova-plugin-ionic-webview#629