I am using Ionic framework to create my hybrid applicatin.
I am launching external url from this webview. At first it was just the long url: http://website.com/page.aspx?src=1 and it worked fine.
after a while I started using IIS redirect module, and defined: http://website.com/page1 ==> http://website.com/page.aspx?src=1. Then it stopped working. I suspect that there is some problem for the webview to use external url when it is redirected.
Here’s my config.xml:
<?xml version='1.0' encoding='utf-8'?><name>MyApp</name>
<description>
My App
</description>
<author email="myapp@mail.com" href="http://myapp.com/">
Ionic Framework Team
</author>
<content src="http://website.com/page1" />
<access origin="*" />
<preference name="webviewbounce" value="false" />
<preference name="UIWebViewBounce" value="false" />
<preference name="DisallowOverscroll" value="true" />
<preference name="BackupWebStorage" value="none" />
<feature name="StatusBar">
<param name="ios-package" onload="true" value="CDVStatusBar" />
</feature>
<platform name="android">
<icon density="ldpi" src="resources\android\icon\drawable-ldpi-icon.png" />
<icon density="mdpi" src="resources\android\icon\drawable-mdpi-icon.png" />
<icon density="hdpi" src="resources\android\icon\drawable-hdpi-icon.png" />
<icon density="xhdpi" src="resources\android\icon\drawable-xhdpi-icon.png" />
<icon density="xxhdpi" src="resources\android\icon\drawable-xxhdpi-icon.png" />
<icon density="xxxhdpi" src="resources\android\icon\drawable-xxxhdpi-icon.png" />
</platform>
<icon src="resources\android\icon\drawable-xhdpi-icon.png" />
<preference name="xwalkVersion" value="14+" />
<preference name="xwalkCommandLine" value="--disable-pull-to-refresh-effect" />
<preference name="xwalkMode" value="embedded" /></widget>