cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bob Moore (JIRA)" <>
Subject [jira] [Commented] (CB-2094) Cordova 2.30 not reliably firing deviceready after reload of local files
Date Wed, 26 Dec 2012 15:18:13 GMT


Bob Moore commented on CB-2094:

I think you are seeing a false positive here. I'm experiencing the same failure with a global
JS function. As I mentioned in my original post, sometimes device ready will fire for a period
of time (typically max of 5 times). Once it fails, it will always fail until the app is closed
and re-launched.
> Cordova 2.30 not reliably firing deviceready after reload of local files
> ------------------------------------------------------------------------
>                 Key: CB-2094
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CordovaJS, iOS
>    Affects Versions: 2.3.0
>            Reporter: Bob Moore
>            Assignee: Shazron Abdullah
>              Labels: Cordova, deviceready, iOS6
>             Fix For: 2.4.0
>         Attachments: index.html, MainViewController.h, MainViewController.m, MainViewController.xib
> I've added a semi transparent home button to the MainViewController which loads the local
index.html file within my Cordova 2.30 project. After I've moved on to a remote page, (may
be Cordova enabled, may not) and I return with the home button, sometimes deviceready does
not fire. It may fire a few times then stop. Once it stops the only way to fix the issue is
to send the app to the background (deviceready will now fire) and return.
> This same technique works fine in Cordova 2.20

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