Ionic CORS problem after porting from v1


I am having a problem with Cors. I want to port my ionic 1 app to ionic 2, but I am having issues with the Http requests.
When i use angular/http i run into cors, but the ionic 1 version works perfectly for the same call, so is there something different in that request that I need to add. Secondly when I use the native http request with a post, the json is not formed correctly and my server cant deserialise the result.

I am using a android device and not a browser.

I use a nancyFx backed.

Any help would be appreciated.


In config.xml try changing this line:

<allow-navigation href="http://ionic.local/*" />

set to:

<allow-navigation href="*" />