cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Grieve (JIRA)" <>
Subject [jira] [Resolved] (CB-1296) deviceready event is never fired on iOS 4.2.1
Date Thu, 30 Aug 2012 14:15:07 GMT


Andrew Grieve resolved CB-1296.

    Resolution: Fixed

Fixed it by just setting the default bridge mode to IFRAME for 4.x devices.


I updated the pre-built JS in the ios repo as well.

While debugging this, I did find that changing the XHR from a HEAD request to a GET made the
request show up in the URIProtocol. It then properly made its way over to the UI thread to
execute the plugin. It would go into deadlock at that point though, so I stopped pursuing
it. IFRAME bridge mode is faster anyway and doesn't have any bugs that it triggers on 4.x

> deviceready event is never fired on iOS 4.2.1
> ---------------------------------------------
>                 Key: CB-1296
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CordovaJS, iOS
>    Affects Versions: 2.1.0
>         Environment: iOS 4.2.1 (iPod Touch 2nd Gen)
>            Reporter: Shazron Abdullah
>            Assignee: Shazron Abdullah
>            Priority: Blocker
>             Fix For: 2.1.0
> deviceready event is never fired on iOS 4.2.1.
> Debugging this, I found that the problem is onCordovaConnectionReady is never fired,
the deviceready channel is waiting for this event before it fires.

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:

View raw message