From 6e2b7080c04e582e188d790f1e0d7e39474f7b78 Mon Sep 17 00:00:00 2001 From: isaacakakpo1 <134492608+isaacakakpo1@users.noreply.github.com> Date: Mon, 16 Oct 2023 20:40:56 +0000 Subject: [PATCH] Update README.md --- README.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index c2e333f0..1bcea737 100644 --- a/README.md +++ b/README.md @@ -528,8 +528,7 @@ To properly report calls to callKit with right statuses, you need to invoke the provider.reportCall(with: uuid, updated: callUpdate) ``` -2. When user receives a Call : Use `provider.reportNewIncomingCall(with: uuid, update: callUpdate)` to report an incoming call. This informs callKit -to provide the native call interface to the user. +2. When user receives a Call : Use `provider.reportNewIncomingCall(with: uuid, update: callUpdate)` to report an incoming call. This sends a request to callKit the to provide the native call interface to the user. ```Swift guard let provider = callKitProvider else { @@ -546,7 +545,7 @@ to provide the native call interface to the user. } ``` -3. When callee answers an outgoing call : Use `provider.reportOutgoingCall(with: callKitUUID, connectedAt:nil)` to report a connected outgoing call. This informs callKit about what time an outgoing call went active. +3. When callee answers an outgoing call : Use `provider.reportOutgoingCall(with: callKitUUID, connectedAt:nil)` to report a connected outgoing call. This provides the time when the outgoing call goes to active to callKit. ```Swift if let provider = self.callKitProvider, let callKitUUID = self.callKitUUID { @@ -624,7 +623,7 @@ func provider(_ provider: CXProvider, perform action: CXEndCallAction) { ended on the callee side once a connection is established. -2. Logs on the receiver's end are necessary to thoroughly debug issues related to push notifications. However, the debugger is not attached when the app is completely killed. To address this, the app can simply be placed in the background. VOIP push notifications should then come through, and the debugger should record all logs. +2. Logs on the receiver's end are essential for thorough debugging of issues related to push notifications. However, the debugger is not attached when the app is completely killed. To address this, you can simply put the app in the background. VOIP push notifications should then come through, and the debugger should capture all logs.