diff --git a/README.md b/README.md index be61547f..1c36f18a 100644 --- a/README.md +++ b/README.md @@ -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) | ❌ | ✅ | @@ -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` @@ -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.