cordova-plugin-ionic-webview
cordova-plugin-ionic-webview copied to clipboard
Attribute src is ignored in tag content in config.xml (IOS)
I have the problem only in IOS.
The steps for replicate the problem in a new project are:
cordova create testContent
cd testContent/
cordova platform add ios
cordova plugin add cordova-plugin-ionic-webview@latest
change the name of file index.html to index-example.html
change the config.xml preference to
<content src="index-example.html" />
Build and execute the app, you will get a blank page
cordova build ios && xed platforms/ios
If I remove the plugin everything works as expected
cordova plugin rm cordova-plugin-ionic-webview@latest
Any updates in this issue? I believe the problem is in iOS' IONAssetHandler
I am seeing a similar effect.
I have the tag
<content src="login.html" />
in my config.xml but on startup index.html is loaded. login.html is never loaded.
Just to add, I'm having the same issue where the plugin ignored the content src attribute in config.xml.
similar issue have it. it ignore if we specify login.html in content src it always use index.html
Same issue here - any plan to fix?