Tuesday 6 October 2015

Phonegap iOS Cross Domain issue

Webservice using external domain didn't work phonegap ios (phonegap android was fine)
People say...

Phonegap should support cross domain:



 JSONP is a solution (but may be not for the POST?) => No

phonegap ios ajax not working

Moving to xhr => No
http://stackoverflow.com/questions/9379220/calling-web-service-using-phonegapios


The below site saved my life!! NSAppTransportSecurity

Ajax Not working in IOS 9.0 Cordova
http://stackoverflow.com/questions/32706656/ajax-not-working-in-ios-9-0-cordova

Another nice URL:
http://enable-cors.org/server.html

No comments:

Post a Comment