Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacakakpo1 authored Oct 16, 2023
1 parent e012f1f commit 6e2b708
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -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 {
Expand Down Expand Up @@ -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.



Expand Down

0 comments on commit 6e2b708

Please sign in to comment.