This has been there for a long time but not doc'ed.
Also see quirks: http://shazronatadobe.wordpress.com/2012/03/14/apache-cordova-lifecycle-events-in-ios-4-versus-ios-5/
Fix commit: http://git-wip-us.apache.org/repos/asf?p=incubator-cordova-docs.git;a=commit;h=fc6c7061
lifecycle events are causing issues in plugins as well.
It may be useful to list all states that plugins "should" support in the plugin docs.
Maybe create a plugin template?
Please elaborate on these plugin issues with lifecycle events.
Plugin template is prob not in the radar - maybe it will after/on 2.0 when plugin packaging will be finalized.
The issue can be reproduced using the CalendarPlugin project here: https://github.com/RandyMcMillan/SampleApps
When app runs in background then manually killed from the springboard it blacks out the screen.
Correction...it may not be isolated to this plugin. It may be associated with the project and I thought it was isolated to this plugin. I just created a generic project with no mods from the template and it exists. (oops)
All CDVPlugins have access to these events: https://github.com/apache/incubator-cordova-ios/blob/master/CordovaLib/Classes/CDVPlugin.m#L50 and need to enable them if they choose to (I agree, it should be documented but these are more iOS events that any dev can find out, nothing specific to Cordova)
Reproduced issue youtube video: http://www.youtube.com/watch?v=j8brmcO8CtQ
Gotcha...I didn't realize that it wasn't specific to Cordova..thanks.
Thanks for the video. This might be because Xcode is still attached to the app instance. Try again while the app is not tethered to Xcode (ie launched from Xcode).