Software Archive
Read-only legacy content
17061 Discussions

AJAX Post Request not working in iOS

Kavin_Kumar_S_
Beginner
467 Views

Hi Team,

I am facing some problem with Ajax post request when testing on real iPhone Device. My post request works flawlessly on Emulators and andriod devices.

But when running the app on iPhone, the request is neither reaching the server nor throwing any error in the phone. I have made the all access orgin to * in the config file.

Please help me to resolve the issue.

0 Kudos
2 Replies
Amrita_C_Intel
Employee
467 Views

Hi,

Please remove * from config file. You need to put * inside domain list. which is in Build settings. Now that * will be automatically updated in the config file. please see the attached screenshot.star.PNG

0 Kudos
Ronique_B_
Beginner
467 Views
Recently start using it and everything works perfectly fine until I build and then nothing works no error no ajax nothing but I have rad a few post and I notice I may need to whiteliss the domains by adding a * in the domain list . I am actually at work right now but when I get home I will try do run it and see what I get cause j really need this to work
0 Kudos
Reply