[ 
https://issues.apache.org/jira/browse/CB-2415?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13580831#comment-13580831
 ] 

Dave Cobb commented on CB-2415:
-------------------------------

Additional supporting commentary... 

Notes Regarding the Android fix that was noted as CB-2284:

Unfortunately the fix (CB-2284) was applied to Cordova 2.4 and there seem to be 
some compatability issues (deprecated methods) with our project leveraging the 
wikipedia app. As the patched version 2.4 of Cordova was still Beta, so unclear 
when to adopt this version and rectify references to deprecated methods.

I tried incorporating a snapshot of the Cordova repo with the fix into our 
project but ran into the compatability issues (deprecated methods). Then I 
tried implementing the solution they have provided into a Cordova 2.1 build 
(which is what we are using for Android) and it seems to work for Android 4.* 
but not Android 2.* and some of the wikipedia plugins seem to fail (which I 
don't quite understand). Based on the limited scope of success and effort 
required for compatability I have not persued it farther than this. 

We are using Cordova 2.1 for Android and Cordova 2.2 for iOS
                
> On iOS the ajax error/fail callback is not called after server returns error 
> code 401/unauthorized
> --------------------------------------------------------------------------------------------------
>
>                 Key: CB-2415
>                 URL: https://issues.apache.org/jira/browse/CB-2415
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>    Affects Versions: 2.2.0
>         Environment: OSX 10.8.2, Xcode 4.5.1, iOS Simulator 5.0, 5.1, 6.0, 
> cordova 2.2
>            Reporter: Zach White
>            Assignee: Shazron Abdullah
>              Labels: 401, BasicAuth, iOS
>
> I am seeing the same issue as reported in 
> [CB-2284|https://issues.apache.org/jira/browse/CB-2284] also in iOS. Ajax 
> calls with Authorization header set are not returning but are timing out when 
> the authorization credentials are invalid.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to