Cross-domain XHR with cordova-plugin-whitelist on PGB is Failing

Using :

  1. PGB cli-5.2.0
  2. cordova-plugin-whitelist (i’ve tried both and plugins/3401 )
  3. Refering to ( ) i added <allow-navigation href="*" /> , <allow-intent href="*" />, <access origin="*" />
  4. My app is using an ajax request to get data from http that has "Access-Control-Allow-Origin", "*".

But still get: Error Failed to load resource: the server responded with a status of 404, yet on localhost it works just fine.

What could i be missing?

Source: ajax

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.