Android AJAX request failed

0 favourites
  • 3 posts
  • Hi, I am trying to get my android app to communicate with my LOCAL web server. It is a super light weight web server without any SSL requirements.

    I am testing my app using the Android Studio and can see that my requests are not getting through to the local web server. I have done plenty of testing on the web server side through browsers which works no problem.

    I have a feeling this is to do with it not being https, but I really don't need the requirement for this. Is there any way?

    This is the Android Studio Log error...

    2020-09-24 14:09:27.273 7777-7777/? I/chromium: [INFO:CONSOLE(2590)] "[Construct 3] AJAX request to 'http://192.168.1.118/?cid=apr&state=1' (tag '') failed: [object ProgressEvent]", source: file:///android_asset/www/scripts/c3runtime.js (2590)

    I have also trying using "localhost".

    Thanks.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Ok I solved this by modifying the manifest file.

    It would be useful if we have "some" control of the manifest, such as any additions parameters to put in.

  • so what is the solution?

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)