Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49078

Login Authentication work on browser (lab) BUT not on ionicview or ios emulator

$
0
0

@comerun wrote:

Hi all,
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.

Thanks,

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 49078

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>