cordova-plugin-ionic-webview icon indicating copy to clipboard operation
cordova-plugin-ionic-webview copied to clipboard

Attribute src is ignored in tag content in config.xml (IOS)

Open 04cfb1ed opened this issue 5 years ago • 5 comments

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

04cfb1ed avatar Dec 31 '19 15:12 04cfb1ed

Any updates in this issue? I believe the problem is in iOS' IONAssetHandler

bwojtyca avatar Jan 21 '20 15:01 bwojtyca

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.

alssl-ross avatar May 22 '20 17:05 alssl-ross

Just to add, I'm having the same issue where the plugin ignored the content src attribute in config.xml.

syedhusain-appspace avatar Jun 01 '20 09:06 syedhusain-appspace

similar issue have it. it ignore if we specify login.html in content src it always use index.html it always load index.html

rakeshmalviya006 avatar Jun 05 '20 19:06 rakeshmalviya006

Same issue here - any plan to fix?

ygyg70 avatar Oct 11 '20 03:10 ygyg70