Problem making http request from ionic app


I am not able to make any http request to backend api from my device after updating my cordova to latest version. It works fine in browser.
Can any one help ??



let me guess… you upgraded to cordova 5.x.x and you forgot to include the whitelist plugin so no external request are allowed -.-…


If you’re using a latest version of Cordova/ionic cli, you may be experiencing this issue when your app tries to make network requests.Try to include the corodova whitelist plugin and define the content security policy(csp) e.g, <meta http-equiv=“Content-Security-Policy” … in the index.html