Issue Type: Feature Request Feature Request
Affects Versions: 1.4.0
Assignee: Christos Vasilakis
Components: Xcode
Created: 20/Feb/14 9:05 AM
Description:

since we are focusing on iOS7, or more supporting iOS7 only, we should polish the push related part of the template for iOS7.

Currently we generate the following methods, if push is enabled:

- (void)application:(UIApplication *)application didReceiveRemoteNotification:(NSDictionary *)userInfo {
....    
}
 
- (void)application:(UIApplication *)application didReceiveRemoteNotification:(NSDictionary *)userInfo fetchCompletionHandler:(void (^)(UIBackgroundFetchResult))completionHandler {
.....
}

However, with iOS7 - if both are present, only the application:didReceiveRemoteNotification:fetchCompletionHandler: is invoked.

Relevant Apple documentation:
https://developer.apple.com/library/ios/documentation/uikit/reference/UIApplicationDelegate_Protocol/Reference/Reference.html#//apple_ref/doc/uid/TP40006786-CH3-SW16

The solution for this ticket is to only generate the application:didReceiveRemoteNotification:fetchCompletionHandler: method

Fix Versions: 1.5.0
Project: AeroGear iOS
Priority: Major Major
Reporter: Matthias Wessendorf
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