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

Can't use local http server as content src

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 5.2.0
    • None
    • cordova-lib
    • Tested using:
      Host: Ubuntu 15.04
      NodeJS version: 0.2.17
      Cordova version: 5.2.0
      Android 5.1.1

    Description

      In Cordova 5.0.0 I was able to host from a local webserver using by specifying the following in my config.xml:

      <content src="http://[ip]:[port]"/>
      <allow-intent href="*"/>
      

      After updating to Cordova 5.2.0 this no longer works. In the Android app the following message is shown:

      Application Error

      There was a network error. (http://[ip]:[port])

      To trigger this, the project must be cleaned between updating from Cordova 5.0.0 to 5.2.0.

      Attachments

        Activity

          People

            Unassigned Unassigned
            remcohaszing Remco Haszing
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: