Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-11160

Windows phone 8.1 apps cannot access remote resources

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • None
    • None
    • cordova-windows
    • I'm using Visual Studio 2015 update 2 with Tools For Apache Cordova 8, OS Windows 8.1 Professional

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            fcristini Fabio Cristini
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: