From 51fabb1ff12d3092a45e40ddfb412bf0e6c882fc Mon Sep 17 00:00:00 2001 From: Jehan Monnier Date: Wed, 2 Nov 2011 10:03:03 +0100 Subject: [PATCH] add workaround to request local notification of type UIRemoteNotificationTypeAlert|UIRemoteNotificationTypeSound to be enabled --- Classes/LinphoneAppDelegate.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Classes/LinphoneAppDelegate.m b/Classes/LinphoneAppDelegate.m index 377144a3b..f5027c132 100644 --- a/Classes/LinphoneAppDelegate.m +++ b/Classes/LinphoneAppDelegate.m @@ -123,8 +123,8 @@ [[LinphoneManager instance] setCallDelegate:myPhoneViewController]; [[LinphoneManager instance] startLibLinphone]; - - + [[UIApplication sharedApplication] registerForRemoteNotificationTypes:UIRemoteNotificationTypeAlert|UIRemoteNotificationTypeSound]; + return YES; }