I am having difficulties testing my application on Ionic View or iOS emulator.
When I run my app from browser (ionic serve --lab) I am able to send the login http post request, get a proper response and login. However, when I test my app from ionic view or ios emulator, my http request does not seem to be even sent as I get a strange response status code of -1 and no response data (null).
just to note my server has been set up to accept the CORS and it allows cross origin requests.
Has anyone had any similar issue?
Any help or instruction would be much appreciated.