Titanium JIRA Archive
Appcelerator Community (AC)

[AC-1869] Cross Origon Resource Sharing issue on mobile web implementation

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionNeeds more info
Resolution Date2013-01-25T18:41:14.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsTitanium SDK & CLI
Labelsn/a
ReporterBaby
AssigneeMauro Parra-Miranda
Created2012-09-20T06:51:24.000+0000
Updated2016-03-08T07:40:47.000+0000

Description

while trying to hit the url from the mobile web code, it throws CROS issue even after using the Ti.Network.httpURLFormatter. I have gone through some discussions on this issue, all says use Ti.Network.httpURLFormatter and set the response in web service. there is no clear documentation on this. where to set the response and how it should formatted using Ti.Network.httpURLFormatter. In my case I am using RESTful web service, here I couldn't find the way to set the response. If any one could provide clear idea/document/ sample code that would greatly helpful. Thanks in Advance.

Comments

  1. Daniel Sefton 2012-11-20

    I'm closing this issue until the following is provided: a test case, logs showing the error, and also the TiSDK version. Thanks in advance.
  2. Daniel Sefton 2013-01-25

    I've set this to resolved so that the issue can now be edited to provide more info. We appreciate your time in helping to improve our platform. Thanks, Daniel
  3. Mauro Parra-Miranda 2013-11-22

    Can't reproduce issue.

JSON Source