[
https://issues.apache.org/jira/browse/CB-11160?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15270979#comment-15270979
]
Nikhil Khandelwal commented on CB-11160:
----------------------------------------
This is a limitation of Windows app model in 8.1 - this is improved now in
Windows 10 with the ms-appx-web:// option.
For windows 8.1 you can use an x-ms-webview but that will not have access to
any plugin/WinRT APIs.
There is not much that Cordova can do here.
> Windows phone 8.1 apps cannot access remote resources
> -----------------------------------------------------
>
> Key: CB-11160
> URL: https://issues.apache.org/jira/browse/CB-11160
> Project: Apache Cordova
> Issue Type: Bug
> Components: Windows
> Environment: I'm using Visual Studio 2015 update 2 with Tools For
> Apache Cordova 8, OS Windows 8.1 Professional
> Reporter: Fabio Cristini
> Labels: windows, wp8
>
> Running my app on 8.1 or Windows Phone 8.1, compiled for platform Windows,
> lead to a problem accessing remote javascript.
> Javascript console report
> APPHOST9601: Can’t load <https://my.remote.url/here>. An app can’t load
> remote web content in the local context.
> Putting
> <preference name="windows-target-version" value="8.1" />
> <preference name="windows-phone-target-version" value="8.1" />
> <preference name="WindowsDefaultUriPrefix" value="ms-appx-web://" />
> in config.xml doesn't help, since this information is not placed in
> appxmanifest
> I'm not able to use my app compiled using this configuration, while compiled
> for platform wp8 (deprecated) is still ok.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]