You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Shazron Abdullah (JIRA)" <ji...@apache.org> on 2013/09/16 23:47:51 UTC
[jira] [Created] (CB-4846) Support the two new multitasking modes
in iOS 7
Shazron Abdullah created CB-4846:
------------------------------------
Summary: Support the two new multitasking modes in iOS 7
Key: CB-4846
URL: https://issues.apache.org/jira/browse/CB-4846
Project: Apache Cordova
Issue Type: New Feature
Components: iOS
Affects Versions: 3.0.0
Reporter: Shazron Abdullah
Assignee: Shazron Abdullah
Priority: Minor
See https://developer.apple.com/library/prerelease/ios/releasenotes/General/WhatsNewIniOS/Articles/iOS7.html#//apple_ref/doc/uid/TP40013162-SW10
https://developer.apple.com/library/prerelease/ios/documentation/iPhone/Conceptual/iPhoneOSProgrammingGuide/ManagingYourApplicationsFlow/ManagingYourApplicationsFlow.html#//apple_ref/doc/uid/TP40007072-CH4
New background modes:
1. background fetch
2. remote notification
This is either/or mode (modification of Info.plist).
These require appdelegate functions to be implemented as well. As an alternative, this could be added as "empty" plugins (we provide the plugin template), and the user can just add their custom code in.
"Hooking" into the appdelegate is possible with plugins by method proxying, see the Pushwoosh plugin: https://github.com/shaders/phonegap-cordova-push-notifications/blob/cf7f1c1857a4bb88931e8bd34356f0cc6add3c74/iOS/Plugins/PushRuntime.m#L111
My suggestion is this is added as a plugin.
--
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