Details
-
Bug
-
Status: Closed
-
Blocker
-
Resolution: Not A Problem
-
2.6.0
-
None
-
iPad 2, iOS 6.1.3, PhoneGap 2.6.0rc1
Description
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.