support for remote notification when app is started (not resumed)

This commit is contained in:
Simon Morlat 2012-10-03 16:08:48 +02:00
parent d7da75593b
commit ab2d6d8897

View file

@ -162,10 +162,10 @@
}
[self startApplication];
NSDictionary *aps=[launchOptions objectForKey:@"aps"];
if (aps){
NSDictionary *remoteNotif =[launchOptions objectForKey:UIApplicationLaunchOptionsRemoteNotificationKey];
if (remoteNotif){
[LinphoneLogger log:LinphoneLoggerLog format:@"PushNotification from launch received."];
[self processRemoteNotification:launchOptions];
[self processRemoteNotification:remoteNotif];
}
return YES;
}