Return-Path: X-Original-To: apmail-cordova-dev-archive@www.apache.org Delivered-To: apmail-cordova-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 937B8EFA2 for ; Tue, 15 Jan 2013 20:22:17 +0000 (UTC) Received: (qmail 39889 invoked by uid 500); 15 Jan 2013 20:22:14 -0000 Delivered-To: apmail-cordova-dev-archive@cordova.apache.org Received: (qmail 39852 invoked by uid 500); 15 Jan 2013 20:22:14 -0000 Mailing-List: contact dev-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cordova.apache.org Delivered-To: mailing list dev@cordova.apache.org Received: (qmail 39808 invoked by uid 500); 15 Jan 2013 20:22:14 -0000 Delivered-To: apmail-incubator-callback-dev@incubator.apache.org Received: (qmail 39797 invoked by uid 99); 15 Jan 2013 20:22:14 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Jan 2013 20:22:14 +0000 Date: Tue, 15 Jan 2013 20:22:14 +0000 (UTC) From: "Shazron Abdullah (JIRA)" To: callback-dev@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CB-2094) Cordova 2.3.0 not reliably firing deviceready after reload of local files MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CB-2094?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13554281#comment-13554281 ] Shazron Abdullah commented on CB-2094: -------------------------------------- >From my testing, the patch has fixed it. Committed the interim js to the iOS repo: http://git-wip-us.apache.org/repos/asf/cordova-ios/commit/60871763 > Cordova 2.3.0 not reliably firing deviceready after reload of local files > ------------------------------------------------------------------------- > > Key: CB-2094 > URL: https://issues.apache.org/jira/browse/CB-2094 > Project: Apache Cordova > Issue Type: Bug > Components: CordovaJS, iOS > Affects Versions: 2.3.0 > Reporter: Bob Moore > Assignee: Andrew Grieve > 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: http://www.atlassian.com/software/jira