Hi Guys,
I have a problem with an ajax request, it is a cross domain request. I tested it on my PC (windows 7) with Chrome browser and it is working like a charm.After I build it and install it on my Samsung Galaxy S Plus (android 2.6) doesn't works, it seems the ajax call isn't executed.
If I put the json file in the project library it works without problem.
Do you have any suggestion what is wrong with this?
ps.in the php part I used header("access-control-allow-origin: *");
-
You can use access tags in your config.xml file to get around this - it may be a problem with your app's whitelist. More details are here:
https://build.phonegap.com/docs/confi... -
-
Thank you for your response, unfortunately it isn't the app's whitelist problem.in the config.xml I've put this . my app's id is 86171, if you can take a look I would be very grateful.
thanks -
-
-
-
Hi Brett! unfortunately I didn't succed to resolve that issue, I tried everything,I have no idea what is the problem with it.if you can have a look at it would be wonderful
-
-
Hi the cross domain is not working at all for iOS. it works fine with the android but not the ios app. i uploaded the files in a server & accessed from the iphone, they appear just fine. only the app is not working & only in iOS I allowed origin "*" in the config, but still no luck
-
Loading Profile...


Twitter,
Facebook, or email.

EMPLOYEE

