Return-Path: X-Original-To: apmail-cordova-issues-archive@minotaur.apache.org Delivered-To: apmail-cordova-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 962A91023F for ; Tue, 9 Apr 2013 23:22:15 +0000 (UTC) Received: (qmail 88385 invoked by uid 500); 9 Apr 2013 23:22:15 -0000 Delivered-To: apmail-cordova-issues-archive@cordova.apache.org Received: (qmail 88346 invoked by uid 500); 9 Apr 2013 23:22:15 -0000 Mailing-List: contact issues-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 issues@cordova.apache.org Received: (qmail 88336 invoked by uid 99); 9 Apr 2013 23:22:15 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Apr 2013 23:22:15 +0000 Date: Tue, 9 Apr 2013 23:22:15 +0000 (UTC) From: "Stephen McKamey (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CB-3008) PhoneGap App hangs on iOS on 2nd load after killed off 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-3008?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Stephen McKamey updated CB-3008: -------------------------------- Summary: PhoneGap App hangs on iOS on 2nd load after killed off (was: PhoneGap App on iOS hangs on 2nd load but fine on first) > PhoneGap App hangs on iOS on 2nd load after killed off > ------------------------------------------------------ > > Key: CB-3008 > URL: https://issues.apache.org/jira/browse/CB-3008 > Project: Apache Cordova > Issue Type: Bug > Components: iOS > Affects Versions: 2.6.0 > Environment: iPad 2, iOS 6.1.3 > Reporter: Stephen McKamey > Assignee: Shazron Abdullah > Priority: Blocker > > Within XCode, I clean and build the app. It has been deleted from the device so not updating but is a fresh build. When run on the device (while tethered) it works as expected. Usually hitting "Stop" within XCode and starting it back up will not reproduce the behavior as the app is still running in the iPad's app tray. > Repro steps: > If I kill off the app via the iOS app switching tray, then it will never load back up without deleting it and pushing a new build. The app never gets along far enough to trigger the `deviceready` event or any console messaging. I am not familiar enough with XCode to produce much more output than the console, so if you have advice of what to try, I'm receptive. I looked at XCode's Profile options but they weren't very informative. > Here is the console output for same app build, same device under both scenarios: > When it works: > 2013-04-09 12:00:22.369 Foo[162:907] Multi-tasking -> Device: YES, App: YES > 2013-04-09 12:00:22.856 Foo[162:907] Resetting plugins due to page load. > 2013-04-09 12:00:23.288 Foo[162:907] Finished load of: file:///var/mobile/Applications/68FE7805-DA2C-47A8-A951-B7A5E9FFEABB/Foo.app/www/index.html > 2013-04-09 12:00:23.341 Foo[162:907] DEPRECATION NOTICE: The Connection ReachableViaWWAN return value of '2g' is deprecated as of Cordova version 2.6.0 and will be changed to 'cellular' in a future release. > 2013-04-09 12:00:23.380 Foo[162:907] [DEBUG] Cordova loaded. > When it fails: > 2013-04-09 12:31:36.126 Foo[295:907] Multi-tasking -> Device: YES, App: YES > 2013-04-09 12:31:36.608 Foo[295:907] Resetting plugins due to page load. -- 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