mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-02-02 11:19:30 +00:00
support for remote notification when app is started (not resumed)
This commit is contained in:
parent
d7da75593b
commit
ab2d6d8897
1 changed files with 3 additions and 3 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue