callkit

App icon is not showing in CallKit UI

余生颓废 提交于 2019-12-06 01:59:57
问题 I have configured my Provider Configuration for CallKit iOS. In which I have also set ' iconTemplateImageData ' for displaying app icon in CallKit UI. But app icon is not showing. It shows a white square box. Provider Configuration Code: CXProviderConfiguration *configuration = [[CXProviderConfiguration alloc] initWithLocalizedName:[NSString stringWithFormat:@"%@\n", _title]]; configuration.maximumCallGroups = 1; configuration.maximumCallsPerCallGroup = 1; UIImage *callkitIcon = [UIImage

Callkit , how to disable video button when locking screen?

落爺英雄遲暮 提交于 2019-12-05 21:38:52
As new feature of iOS10, CallKit is powerful. When the screen is locked, how can I disable the "Video" Button ? like the pic bottom: example You must set supportsVideo property in CXProviderConfiguration to NO. And non set supportedHandleTypes. You can set CXProviderConfiguration class property "supportsVideo" to NO, like below. CXProviderConfiguration *configuration = [[CXProviderConfiguration alloc]initWithLocalizedName:@"app name"]; configuration.supportsVideo = NO; It will disable video feature. Update: Set CXCallUpdate property " hasVideo " to NO. and remove remoteHandle also. Note: If

iOS 13 not getting VoIP Push Notifications in background

南笙酒味 提交于 2019-12-05 13:34:53
I'm developing a softphone in Swift using CallKit and PushKit. Before iOS 13, VoIP notifications were working perfectly. But after the iOS 13 update, my app isn't getting VoIP push notification when it's in background. In foreground didReceiveIncomingPushWith is called, but in background it isn't called. How can I fix this issue? Code func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool { // Override point for customization after application launch. print("\(#function)") let voipPushResgistry =

Abnormal behavior of speaker button on system provided call screen

喜夏-厌秋 提交于 2019-12-05 00:50:45
问题 We write VoIP application using CallKit and PortSIP and here is a problem is reproduced only on iOS 11.2.x. When user taps speaker button on CallKit provided screen system enables speaker but icon remains in disabled state. If user taps again system also turns speaker on and forgets about button. To disable speaker user should tap button twice. Has anybody met this bug? And what was your solution? (: Thanks. 回答1: The same issue has been experienced in the previous versions as well. So this is

Native cellular call fails on VoIP incoming call in iOS 13

百般思念 提交于 2019-12-04 12:43:11
I have implemented CallKit for audio and video call with VoIP PushKit in iOS and it is working fine in iOS 12 and prior versions, and also it is working fine normally in iOS 13 and 13.1. But it is failing in 2 scenarios: 1) Our App is in foreground state. When cellular call is running and VoIP push is received, then Call kit incoming call screen is showing for 5 - 10 seconds, and then both Cellular and VOIP calls are failing with Alert "Call Failed". 2) Our App is in Background or Killed state. When cellular call is running and VoIP push is received, then both Cellular and VOIP calls are

How can CallKit be used to make a non-voip call?

青春壹個敷衍的年華 提交于 2019-12-04 12:06:57
I would like to make a call from app using the new iOS 10 CallKit but using the default carrier. Is it possible? If so, how? Currently using: public void dial(String number) { NSURL url = new NSURL("tel://" + number); UIApplication.getSharedApplication().openURL(url); } If you wish to make a standard telephone call using the device's carrier and not via your own app (i.e. not as a "VoIP" call in your own app) then launching a tel: URL is still the way to do this. CallKit is only involved if your own app will be backing the call, but that is not the case if you are making a carrier-backed

How can we handle multiple calls with pjsip and callkit

家住魔仙堡 提交于 2019-12-04 10:50:44
We are facing an issue regarding callKit Framework by iOS. We have to implement following functionalities in app. One to One call (Working fine) . we can end and accept second call (Working fine) . we can hold and accept calls (max 2 calls). we can switch between calls. Hold/Unhold current call. Issue : The issues we are facing are : We are able to accept second call which have no audio when hold and accept. Switch call button from call kit is disabled. We have done following implementation for handling multiple calls : We are reporting new call by following method. - (void

App icon is not showing in CallKit UI

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-04 07:42:12
I have configured my Provider Configuration for CallKit iOS. In which I have also set ' iconTemplateImageData ' for displaying app icon in CallKit UI. But app icon is not showing. It shows a white square box. Provider Configuration Code: CXProviderConfiguration *configuration = [[CXProviderConfiguration alloc] initWithLocalizedName:[NSString stringWithFormat:@"%@\n", _title]]; configuration.maximumCallGroups = 1; configuration.maximumCallsPerCallGroup = 1; UIImage *callkitIcon = [UIImage imageNamed:@"AppIcon"]; configuration.iconTemplateImageData = UIImagePNGRepresentation(callkitIcon);

How to intercept “Messages” sent from CallKit incoming call screen?

大兔子大兔子 提交于 2019-12-04 01:21:46
问题 I'm using iOS 10's CallKit to receive incoming calls. The calls in my app do not come from "phone numbers" or "email addresses", but from an internal identifier in my protocol. I thus report incoming calls with the CXHandleType of CXHandleTypeGeneric (and not CXHandleTypePhoneNumber or CXHandleTypeEmailAddress ), using a custom string as the "value" of the handle. When I report the incoming call, and the phone is not locked, the user sees an incoming call screen, with the buttons "Remind Me",

Callkit loudspeaker bug / how WhatsApp fixed it?

痞子三分冷 提交于 2019-12-03 01:23:06
I have an app with Callkit functionality. When I press the loudspeaker button, it will flash and animate to the OFF state (sometimes the speaker is set to LOUD but the icon is still OFF). When I tap on it multiple times... it can be clearly seen that this functionality is not behaving correctly. However, WhatsApp has at the beginning the loudspeaker turned OFF and after 3+ seconds it activates it and its working. Has anyone encountered anything similar and can give me a solution? Youtube video link to demonstrate my problem There is a workaround proposed by an apple engineer which should fix