From d230b892e281bf5a478b4ca56107007a982eeea2 Mon Sep 17 00:00:00 2001 From: Benjamin Reis Date: Fri, 20 Jan 2017 16:48:19 +0100 Subject: [PATCH] Display app name in callkit --- Classes/ProviderDelegate.m | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Classes/ProviderDelegate.m b/Classes/ProviderDelegate.m index 97bdf5961..edd8cf534 100644 --- a/Classes/ProviderDelegate.m +++ b/Classes/ProviderDelegate.m @@ -31,7 +31,8 @@ } - (void)config { - CXProviderConfiguration *config = [[CXProviderConfiguration alloc] initWithLocalizedName:@"Linphone"]; + CXProviderConfiguration *config = [[CXProviderConfiguration alloc] + initWithLocalizedName:[NSBundle.mainBundle objectForInfoDictionaryKey:@"CFBundleDisplayName"]]; config.ringtoneSound = @"shortring.caf"; config.supportsVideo = FALSE; config.iconTemplateImageData = UIImagePNGRepresentation([UIImage imageNamed:@"callkit_logo"]);