Details
-
New Feature
-
Status: Closed
-
Minor
-
Resolution: Won't Fix
-
3.0.0
-
None
Description
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.