mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-17 11:08:06 +00:00
Tapping a message notification when app is not started open conversation
This commit is contained in:
parent
f0b19b8fd3
commit
012b96798c
1 changed files with 3 additions and 2 deletions
|
|
@ -283,7 +283,6 @@
|
|||
intentIdentifiers:[[NSMutableArray alloc] init]
|
||||
options:UNNotificationCategoryOptionCustomDismissAction];
|
||||
|
||||
[UNUserNotificationCenter currentNotificationCenter].delegate = self;
|
||||
//NSSet *categories = [NSSet setWithObjects:cat_call, cat_msg, video_call, cat_zrtp, nil];
|
||||
NSSet *categories = [NSSet setWithObjects:cat_call
|
||||
, video_call, cat_zrtp, nil];
|
||||
|
|
@ -297,7 +296,7 @@
|
|||
#ifdef USE_CRASHLYTICS
|
||||
[FIRApp configure];
|
||||
#endif
|
||||
|
||||
[UNUserNotificationCenter currentNotificationCenter].delegate = self;
|
||||
if ([VFSUtil vfsEnabledWithGroupName:kLinphoneMsgNotificationAppGroupId]) {
|
||||
if (TARGET_IPHONE_SIMULATOR) {
|
||||
LOGW(@"[VFS] Can not active for simulators.");
|
||||
|
|
@ -613,6 +612,8 @@
|
|||
withCompletionHandler:(void (^)(void))completionHandler {
|
||||
LOGD(@"UN : response received");
|
||||
LOGD(response.description);
|
||||
|
||||
startedInBackground = true;
|
||||
|
||||
NSString *callId = (NSString *)[response.notification.request.content.userInfo objectForKey:@"CallId"];
|
||||
if (!callId)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue