callkit

How to display a ViewController when answering a call with CallKit

廉价感情. 提交于 2021-02-08 19:23:14
问题 I have followed the following tutorial to implement CallKit within my app: https://www.raywenderlich.com/150015/callkit-tutorial-ios But I would like to go further, and display my own ViewController while the call is active. I am doing a videocall service so I would like to have my own interface. Is that possible at all? I have been trying to launch the ViewController from the method provider(CXProvider:CXAnswerCallAction) which is the one called when the user answers the call, but it seems

How to display a ViewController when answering a call with CallKit

北慕城南 提交于 2021-02-08 19:22:32
问题 I have followed the following tutorial to implement CallKit within my app: https://www.raywenderlich.com/150015/callkit-tutorial-ios But I would like to go further, and display my own ViewController while the call is active. I am doing a videocall service so I would like to have my own interface. Is that possible at all? I have been trying to launch the ViewController from the method provider(CXProvider:CXAnswerCallAction) which is the one called when the user answers the call, but it seems

iOS 13 reason: 'Killing app because it never posted an incoming call to the system after receiving a PushKit VoIP push callback.'

北战南征 提交于 2021-01-29 06:02:15
问题 From many days I am stuck at this problem... AnyHashable("aps"): { alert = { action = test; body = "{\"action\":\"connect\",\"meetingId\":\"mdkdkkydjgedjhd\",\"from\":\"sender\",\"fromToken\":\"9d739e878521cf770d9e5136161cf7611c242ef2a8b53c83c81b6b6021a7b31b\",\"to\":\"receiver\",\"toToken\":\"e65bf5e3d6a3e440eb364fb620539de4f4c2c1bf98be5f753f5abfbe7fecea74\",\"callUUID\":\"9EB823F3-F857-490B-BCFC-373D05E56933\"}"; title = Call; }; }] This is the payload which I am receiving and raising an

CallKit reportNewIncomingCall completion called but still getting “Killing app because it never posted an incoming call …” crash

℡╲_俬逩灬. 提交于 2021-01-07 02:42:58
问题 This is my first time using PushKit and CallKit combination to build a VoIP feature. I noticed that starting from iOS 13 it is mandatory to report a PushKit VoIP push, otherwise the app will crash. Due to this regulation I proceeded to implement the reportNewIncomingCall method inside didReceiveIncomingPushWith and made sure that its completion is successfully called, which it did, because the breakpoint I placed within the completion block was activated. However, not long after that, the app

Is there a way to discard a VoIP push notification call request?

旧城冷巷雨未停 提交于 2020-12-15 03:51:32
问题 I'm implementing an intercom feature, which by specs should report and allow one call only, ignoring any call request if there's one already reported or answered (in progress). The simplest thing to do is to ignore the VoIP push notification message of subsequent calls, but that is disallowed by Apple, because if a notification is not followed by a call to CXProvider 's reportIncomingCall(with:update:completion) , the app is terminated (I guess this is to prevent using these notifications for

Is there a way to discard a VoIP push notification call request?

拥有回忆 提交于 2020-12-15 03:50:16
问题 I'm implementing an intercom feature, which by specs should report and allow one call only, ignoring any call request if there's one already reported or answered (in progress). The simplest thing to do is to ignore the VoIP push notification message of subsequent calls, but that is disallowed by Apple, because if a notification is not followed by a call to CXProvider 's reportIncomingCall(with:update:completion) , the app is terminated (I guess this is to prevent using these notifications for