14 Replies Latest reply on Feb 13, 2017 10:46 PM by impulzd95438820

    Ajax doesnt work with the latest phonegap build

    r99873701 Level 1

      I have the following in my project and build was working fine till the last week. The AJAX calls arent working anymore!

      plugins

      cordova-plugins-whitelist

      config.xml

          <access origin="http://*" /> <access origin="https://*" /> <allow-navigation href="*" /> <allow-intent href="*" />

      index.html

      <meta http-equiv="Content-Security-Policy" content="img-src * 'self' data:; default-src * 'self' gap: wss: ws: ; style-src 'self' 'unsafe-inline'; script-src 'self' 'unsafe-inline' 'unsafe-eval';">

       

      I installed Android SDK and did a local build. And it works perfectly. However when I build on phonegap, it doesnt work.