Skip to main content
Astro The Goat
Inspiring
Jul 2, 2020 3:11 PM UTC
Answered

net:ERR_INVALID_RESPONSE

I have just developed an Andriod app using Adobe Captivate.

 

The Captivate project makes use of "Web objects" to link to video files that are held on a separate server.

 

When I try to access any of these videos I get the following message

 

The web page at .... could not be loaded because..net:ERR_INVALID_RESPONSE 

 

Before you ask...I did not want to include the videos within the app as this would make it too large.

 

Any advice or suggestions would be most welcome. 

    This topic is closed to new replies. Start a new post to keep the conversation going.
    Astro The Goat
    Astro The GoatCorrect answer
    Inspiring
    Jul 3, 2020 12:12 PM UTC

    I solved the problem myslef.

     

    I needed to add a few lines of code to the config.xml - these are...

     

    <access origin="*"/>

    <allow-intent href="http://*/*"/>

    <allow-intent href="https://*/*"/>

    <allow-intent href="tel:*"/>

    <allow-intent href="sms:*"/>

    <allow-intent href="mailto:*"/>

    <allow-intent href="geo:*"/>

     

    and 

    <plugin name="cordova-plugin-whitelist" spec="1.2.0"/>

    3 replies

    Eric Dumas
    Community Expert
    Community Expert
    Jul 2, 2020 4:19 PM UTC

    Hi,

    Can you confirm the exact versions of your software and operating system.

    Can you include screenshots of the settings you use?

    Translate
    Astro The Goat
    Inspiring
    Jul 3, 2020 11:25 AM UTC

    I am using Adobe Captivate 2019 11.5.1.499 running on Windows 10.

     

    I am opening the app using Android version 6.0.1 on an Asus Nexus 7 2013.

     

    Here's the config.xml code for the app..

     

    <?xml version="1.0" encoding="UTF-8"?>
    <widget xmlns = "http://www.w3.org/ns/widgets"
    xmlns:gap = "http://phonegap.com/ns/1.0"
    id = "mhsi.library"
    version = "1.4">
    <name>MHSI-Library</name>

    <description>
    Captivate E-Learning Course
    </description>

    <gap:platform name="android" />

    <plugin name="cordova-plugin-file" spec="4.3.3" />
    <plugin name="cordova-plugin-device" />
    <plugin name="cordova-plugin-inappbrowser" />
    <plugin name="cordova-plugin-statusbar" />

    <icon src="icon.png" />

    <preference name="AndroidPersistentFileLocation" value="Internal" />
    <preference name="permissions" value="none" />
    <preference name="phonegap-version" value="cli-8.0.0" />
    <preference name="target-device" value="universal" />
    <preference name="fullscreen" value="false" />

    <allow-intent href="https://*/*" />

    <allow-navigation href="http://*/*" />
    <allow-navigation href="https://*/*" />
    <allow-navigation href="data:*" />
    </widget>

     

     

    Translate
    Astro The Goat
    Astro The GoatAuthorCorrect answer
    Inspiring
    Jul 3, 2020 12:12 PM UTC

    I solved the problem myslef.

     

    I needed to add a few lines of code to the config.xml - these are...

     

    <access origin="*"/>

    <allow-intent href="http://*/*"/>

    <allow-intent href="https://*/*"/>

    <allow-intent href="tel:*"/>

    <allow-intent href="sms:*"/>

    <allow-intent href="mailto:*"/>

    <allow-intent href="geo:*"/>

     

    and 

    <plugin name="cordova-plugin-whitelist" spec="1.2.0"/>

    Translate