Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -743,10 +743,12 @@ RNCallKeep.registerAndroidEvents();
| [answerCall](#answerCall) | ✅ | ✅ |
| [endCall](#endCall) | ✅ | ✅ |
| [didActivateAudioSession](#didActivateAudioSession) | ✅ | ✅ |
| [didDeactivateAudioSession](#didDeactivateAudioSession) | ✅ | ❌ |
| [didDisplayIncomingCall](#didDisplayIncomingCall) | ✅ | ✅ |
| [didPerformSetMutedCallAction](#didPerformSetMutedCallAction) | ✅ | ✅ |
| [didToggleHoldCallAction](#didToggleHoldCallAction) | ✅ | ✅ |
| [didPerformDTMFAction](#didPerformDTMFAction) | ✅ | ✅ |
| [didResetProvider](#didResetProvider) | ✅ | ❌ |
| [didLoadWithEvents](#didLoadWithEvents) | ✅ | ❌ |
| [showIncomingCallUi](#showIncomingCallUi) | ❌ | ✅ |
| [silenceIncomingCall](#silenceIncomingCall) | ❌ | ✅ |
Expand Down Expand Up @@ -813,6 +815,18 @@ RNCallKeep.addEventListener('didActivateAudioSession', () => {
});
```

### didDeactivateAudioSession

iOS only.

The `AudioSession` has been deactivated by **RNCallKeep**.

```js
RNCallKeep.addEventListener('didDeactivateAudioSession', () => {

});
```

### didDisplayIncomingCall

Callback for `RNCallKeep.displayIncomingCall`
Expand Down Expand Up @@ -901,6 +915,19 @@ RNCallKeep.addEventListener('didPerformDTMFAction', ({ digits, callUUID }) => {
- `callUUID` (string)
- The UUID of the call.

### didResetProvider

iOS only.

The underlying native provider for RNCallKeep has been reset.

```js
RNCallKeep.addEventListener('didResetProvider', () => {
// Likely an error has occurred, you may want to hang up all calls
// and log errors.
});
```

### didLoadWithEvents

iOS only.
Expand Down