I'm using AppBuilder within Visual Studio 2015 targeting Cordova 4.0 using Crosswalk in Android and WKWebView in iOS. I'm having some issues with the InAppBrowser core plugin. I have the following whitelist in the config.xml under App_Resources/Android/xml/config.xml and App_Resources/iOS/config.xml.
<
access
origin
=
"*"
/>
<
allow-navigation
href
=
"*"
/>
Additionally, in index.html I have the following Content-Security-Policy:
<
meta
http-equiv
=
"Content-Security-Policy"
content
=
"default-src *;"
>
Basically everything is wide open for now during development.
Android Issue-
The app doesn't exactly seem to crash, but the splash screen shows when I execute the following code:
window.open(url);
iOS Issue-
The app does nothing when I execute the following code. Probably expected behavior for if a site isn't in the whitelist.
window.open(url);
When I dial down the Cordova version to 3.7 (followed by "Build and Deploy"), Android no longer shows the splash screen upon executing window.open(url) but iOS still doesn't do anything when executing window.open(url).
I appreciate any help you can offer.